dolfinx.cpp.refinement

Refinement module

Functions

refine(*args, **kwargs)

Overloaded function.

refine_plaza(*args, **kwargs)

Overloaded function.

transfer_cell_meshtag(parent_meshtag, ...)

transfer_facet_meshtag(parent_meshtag, ...)

Classes

RefinementOption(self, value)

Members:

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

Bases: pybind11_object

Members:

none

parent_facet

parent_cell

parent_cell_and_facet

property name
none = <RefinementOption.none: 0>
parent_cell = <RefinementOption.parent_cell: 1>
parent_cell_and_facet = <RefinementOption.parent_cell_and_facet: 3>
parent_facet = <RefinementOption.parent_facet: 2>
property value
dolfinx.cpp.refinement.refine(*args, **kwargs)

Overloaded function.

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

  2. refine(mesh: dolfinx.cpp.mesh.Mesh_float64, redistribute: bool = True) -> dolfinx.cpp.mesh.Mesh_float64

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

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

dolfinx.cpp.refinement.refine_plaza(*args, **kwargs)

Overloaded function.

  1. refine_plaza(mesh: dolfinx.cpp.mesh.Mesh_float32, redistribute: bool, option: dolfinx.cpp.refinement.RefinementOption) -> Tuple[dolfinx.cpp.mesh.Mesh_float32, numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int8]]

  2. refine_plaza(mesh: dolfinx.cpp.mesh.Mesh_float64, redistribute: bool, option: dolfinx.cpp.refinement.RefinementOption) -> Tuple[dolfinx.cpp.mesh.Mesh_float64, numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int8]]

  3. refine_plaza(mesh: dolfinx.cpp.mesh.Mesh_float32, edges: numpy.ndarray[numpy.int32], redistribute: bool, option: dolfinx.cpp.refinement.RefinementOption) -> Tuple[dolfinx.cpp.mesh.Mesh_float32, numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int8]]

  4. refine_plaza(mesh: dolfinx.cpp.mesh.Mesh_float64, edges: numpy.ndarray[numpy.int32], redistribute: bool, option: dolfinx.cpp.refinement.RefinementOption) -> Tuple[dolfinx.cpp.mesh.Mesh_float64, numpy.ndarray[numpy.int32], numpy.ndarray[numpy.int8]]

dolfinx.cpp.refinement.transfer_cell_meshtag(parent_meshtag: dolfinx.cpp.mesh.MeshTags_int32, refined_mesh: dolfinx.cpp.mesh.Topology, parent_cell: numpy.ndarray[numpy.int32]) dolfinx.cpp.mesh.MeshTags_int32
dolfinx.cpp.refinement.transfer_facet_meshtag(parent_meshtag: dolfinx.cpp.mesh.MeshTags_int32, refined_mesh: dolfinx.cpp.mesh.Topology, parent_cell: numpy.ndarray[numpy.int32], parent_facet: numpy.ndarray[numpy.int8]) dolfinx.cpp.mesh.MeshTags_int32