# set_coordinates¶

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

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.

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