refine

dolfin.cpp.mesh.refine()

Create locally refined mesh

Parameters:
  • & refined_mesh (Mesh) – (Mesh ) The mesh that will be the refined mesh.
  • Mesh & mesh (const) – (Mesh ) The original mesh.
  • MeshFunction< bool > & cell_markers (const) – (MeshFunction<bool>) A mesh function over booleans specifying which cells that should be refined (and which should not).
  • redistribute (bool) – (bool) Optional argument to redistribute the refined mesh if mesh is a distributed mesh.
Return type:

void