refine¶
-
dolfin.cpp.mesh.
refine
(*args)¶ Overloaded versions
refine(mesh, true)
Create uniformly refined mesh
refine(refined_mesh, mesh, true)
Create uniformly refined mesh
refine(mesh, cell_markers, true)
Create locally refined mesh
- Arguments
- mesh (
Mesh
) The mesh to refine.
- cell_markers (
MeshFunction
) A mesh function over booleans specifying which cells that should be refined (and which should not).
- redistribute (_bool_)
Optional argument to redistribute the refined mesh if mesh is a distributed mesh.
- mesh (
- Returns
Mesh
The locally refined mesh.
- Example
Note
No example code available for this function.
refine(refined_mesh, mesh, cell_markers, true)
Create locally refined mesh
- Arguments
- refined_mesh (
Mesh
) The mesh that will be the refined mesh.
- mesh (
Mesh
) The original mesh.
- cell_markers (
MeshFunction
) A mesh function over booleans specifying which cells that should be refined (and which should not).
- redistribute (_bool_)
Optional argument to redistribute the refined mesh if mesh is a distributed mesh.
- refined_mesh (