ALE

class dolfin.cpp.function.ALE

Bases: object

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(*args)

Overloaded versions

  • move(mesh, new_boundary)

    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.

    Returns
    MeshDisplacement

    Displacement encapsulated in Expression subclass MeshDisplacement.

  • move(mesh0, mesh1)

    Arguments
    mesh0 (Mesh)

    The affine mesh to move.

    mesh1 (Mesh)

    The affine mesh to be fit.

    Returns
    MeshDisplacement

    Displacement encapsulated in Expression subclass

  • move(mesh, 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.

  • move(mesh, displacement)

    Move coordinates of mesh according to displacement function.

    Arguments
    mesh (Mesh)

    The mesh to move.

    displacement (Function)

    A vectorial Lagrange function of matching degree.

thisown

The membership flag