get_coordinates

dolfin.cpp.fem.get_coordinates(position, geometry)

Stores mesh coordinates into function

Mesh connectivities d-0, d-1, ..., d-r are built on function mesh (where d is topological dimension of the mesh and r is maximal dimension of entity associated with any coordinate node). Consider clearing unneeded connectivities when finished.

Arguments
position (Function)
Vectorial Lagrange function with matching degree and mesh
geometry (MeshGeometry)
Mesh geometry to be stored