create_mesh¶
-
dolfin.cpp.fem.
create_mesh
()¶ Creates mesh from coordinate function Topology is given by underlying mesh of the function space and geometry is given by function values. Hence resulting mesh geometry has a degree of the function space degree. Geometry of function mesh is ignored.
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: & coordinates (Function) – ( Function
)Vector
Lagrange
function of any degreeReturn type: Mesh Returns: Mesh
The mesh