dolfinx.cpp.refinement

Refinement module

Functions

plaza_refine_data(mesh, redistribute, options)

refine(*args, **kwargs)

Overloaded function.

transfer_cell_meshtag(parent_meshtag, ...)

transfer_facet_meshtag(parent_meshtag, ...)

Classes

RefinementOptions(self, value)

Members:

class dolfinx.cpp.refinement.RefinementOptions(self: dolfinx.cpp.refinement.RefinementOptions, value: int)

Bases: pybind11_object

Members:

parent_facet

parent_cell

parent_cell_and_facet

property name
parent_cell = <RefinementOptions.parent_cell: 1>
parent_cell_and_facet = <RefinementOptions.parent_cell_and_facet: 3>
parent_facet = <RefinementOptions.parent_facet: 2>
property value
dolfinx.cpp.refinement.plaza_refine_data(mesh: dolfinx.cpp.mesh.Mesh, redistribute: bool, options: dolfinx.cpp.refinement.RefinementOptions) Tuple[dolfinx.cpp.mesh.Mesh, List[int], List[int]]
dolfinx.cpp.refinement.refine(*args, **kwargs)

Overloaded function.

  1. refine(mesh: dolfinx.cpp.mesh.Mesh, redistribute: bool = True) -> dolfinx.cpp.mesh.Mesh

  2. refine(mesh: dolfinx.cpp.mesh.Mesh, edges: numpy.ndarray[numpy.int32], redistribute: bool = True) -> dolfinx.cpp.mesh.Mesh

dolfinx.cpp.refinement.transfer_cell_meshtag(parent_meshtag: dolfinx.cpp.mesh.MeshTags_int32, refined_mesh: dolfinx.cpp.mesh.Mesh, parent_cell: List[int]) dolfinx.cpp.mesh.MeshTags_int32
dolfinx.cpp.refinement.transfer_facet_meshtag(parent_meshtag: dolfinx.cpp.mesh.MeshTags_int32, refined_mesh: dolfinx.cpp.mesh.Mesh, parent_cell: List[int], parent_facet: List[int]) dolfinx.cpp.mesh.MeshTags_int32