DOLFIN
DOLFIN C++ interface
|
#include <ALE.h>
Static Public Member Functions | |
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) |
This class provides functionality useful for implementation of ALE (Arbitrary Lagrangian-Eulerian) methods, in particular moving the boundary vertices of a mesh and then interpolating the new coordinates for the interior vertices accordingly.
|
static |
Move coordinates of mesh according to new boundary coordinates. Works only for affine meshes.
mesh | (Mesh) The affine mesh to move. |
new_boundary | (BoundaryMesh) An affine mesh containing just the boundary cells. |
|
static |
Move coordinates of mesh according to adjacent mesh with common global vertices. Works only for affine meshes.
|
static |
Move coordinates of mesh according to displacement function. This works only for affine meshes.
NOTE: This cannot be implemented for higher-order geometries as there is no way of constructing function space for position unless supplied as an argument.
mesh | (Mesh) The affine mesh to move. |
displacement | (GenericFunction) A vectorial generic function. |