ALE.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
ALE
¶ 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.
Move coordinates of mesh according to new boundary coordinates. Works only for affine meshes.
- Arguments
- mesh (
Mesh
) - The affine mesh to move.
- boundary (
BoundaryMesh
) - An affine mesh containing just the boundary cells.
- mesh (
- Returns
- MeshDisplacement
- Displacement encapsulated in Expression subclass MeshDisplacement.
-
static void
move
(Mesh &mesh, const GenericFunction &displacement)¶ 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.
- Arguments
- mesh (
Mesh
) - The affine mesh to move.
- displacement (
GenericFunction
) - A vectorial generic function.
- mesh (