Bases: dolfin.cpp.function.Expression
This class encapsulates the CG1 representation of the displacement of a mesh as an Expression. This is particularly useful for the displacement returned by mesh smoothers which can subsequently be used in evaluating forms. The value rank is 1 and the value shape is equal to the geometric dimension of the mesh.
Overloaded versions
MeshDisplacement(mesh)
Create MeshDisplacement of given mesh
Mesh to be displacement defined on.
MeshDisplacement(mesh_displacement)
Copy constructor
Object to be copied.
Overloaded versions
operator[](i)
Extract subfunction In python available as MeshDisplacement.sub(i)
Index of subfunction.
operator[](i)
Extract subfunction. Const version
Index of subfunction.
The membership flag