MeshHierarchy¶
-
class
dolfin.cpp.mesh.
MeshHierarchy
(*args)¶ Bases:
object
Overloaded versions
MeshHierarchy()
Constructor
MeshHierarchy(mesh)
Constructor with initial mesh
-
coarsen
()¶ Coarsen finest mesh by one level, based on markers (level n->n)
-
coarsest
()¶ Get the coarsest mesh of the MeshHierarchy
-
finest
()¶ Get the finest mesh of the MeshHierarchy
-
rebalance
()¶ Rebalance across processes
-
refine
()¶ Refine finest mesh of existing hierarchy, creating a new hierarchy (level n -> n+1)
-
size
()¶ Number of meshes
-
thisown
¶ The membership flag
-
unrefine
()¶ Unrefine by returning the previous MeshHierarchy (level n -> n-1) Returns NULL for a MeshHierarchy containing a single Mesh
-
weight
()¶ Calculate the number of cells on the finest Mesh which are descendents of each cell on the coarsest Mesh, returning a vector over the cells of the coarsest Mesh.