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.

static std::shared_ptr<MeshDisplacement> move(Mesh &mesh, const BoundaryMesh &new_boundary)

Move coordinates of mesh according to new boundary coordinates. Returns displacement (encapsulated in Expression subclass MeshDisplacement)

static std::shared_ptr<MeshDisplacement> move(Mesh &mesh0, const Mesh &mesh1)

Move coordinates of mesh0 according to mesh1 with common global vertices. Returns displacement (encapsulated in Expression subclass MeshDisplacement)

static void move(Mesh &mesh, const GenericFunction &displacement)

Move coordinates of mesh according to displacement function