Initialize a topology from a C++ topology. Args: topology: The C++ topology object Note: Topology objects should usually be constructed with the :func:`dolfinx.cpp.mesh.create_topology` and not this class initializer.
(self, topology: _cpp.mesh.Topology)
| 131 | _cpp_object: _cpp.mesh.Topology |
| 132 | |
| 133 | def __init__(self, topology: _cpp.mesh.Topology): |
| 134 | """Initialize a topology from a C++ topology. |
| 135 | |
| 136 | Args: |
| 137 | topology: The C++ topology object |
| 138 | |
| 139 | Note: |
| 140 | Topology objects should usually be constructed with the |
| 141 | :func:`dolfinx.cpp.mesh.create_topology` and not this class |
| 142 | initializer. |
| 143 | """ |
| 144 | self._cpp_object = topology |
| 145 | |
| 146 | def cell_name(self) -> str: |
| 147 | """String representation of the cell-type of the topology.""" |
nothing calls this directly
no outgoing calls
no test coverage detected