set_coordinates

dolfin.cpp.fem.set_coordinates()

Sets mesh coordinates from 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.

Parameters:
  • & geometry (MeshGeometry) – (MeshGeometry ) Mesh geometry to be set
  • Function & position (const) – (Function ) Vectorial Lagrange function with matching degree and mesh
Return type:

void