Loading...
Searching...
No Matches
ALE.h
// Copyright (C) 2008-2009 Solveig Bruvoll and Anders Logg
//
// This file is part of DOLFIN.
//
// DOLFIN is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// DOLFIN is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with DOLFIN. If not, see <http://www.gnu.org/licenses/>.
//
// Modified by Jan Blechta 2013
//
// First added: 2008-05-02
// Last changed: 2013-03-06
#ifndef __ALE_H
#define __ALE_H
#include <memory>
#include "MeshDisplacement.h"
namespace dolfin
{
class Mesh;
class BoundaryMesh;
class GenericFunction;
class ALE
{
public:
static std::shared_ptr<MeshDisplacement>
move(std::shared_ptr<Mesh> mesh, const BoundaryMesh& new_boundary);
//
static std::shared_ptr<MeshDisplacement> move(std::shared_ptr<Mesh> mesh0,
const Mesh& mesh1);
static void move(Mesh& mesh, const GenericFunction& displacement);
static void move(Mesh& mesh, const Function& displacement);
};
}
#endif
dolfin::ALE
Definition ALE.h:42
dolfin::ALE::move
static std::shared_ptr< MeshDisplacement > move(std::shared_ptr< Mesh > mesh, const BoundaryMesh &new_boundary)
Definition ALE.cpp:36
dolfin::BoundaryMesh
Definition BoundaryMesh.h:40
dolfin::Function
Definition Function.h:66
dolfin::GenericFunction
Definition GenericFunction.h:54
dolfin::Mesh
Definition Mesh.h:84
dolfin
Definition adapt.h:30