Geometric size measure of cell entities. Args: dim: Topological dimension of the entities to compute the size measure of. entities: Indices of entities of dimension ``dim`` to compute size measure of. Returns: Size
(self, dim: int, entities: npt.NDArray[np.int32])
| 418 | return getattr(basix.CellType, self.topology.cell_name()) |
| 419 | |
| 420 | def h(self, dim: int, entities: npt.NDArray[np.int32]) -> npt.NDArray[np.float64]: |
| 421 | """Geometric size measure of cell entities. |
| 422 | |
| 423 | Args: |
| 424 | dim: Topological dimension of the entities to compute the |
| 425 | size measure of. |
| 426 | entities: Indices of entities of dimension ``dim`` to |
| 427 | compute size measure of. |
| 428 | |
| 429 | Returns: |
| 430 | Size measure for each requested entity. |
| 431 | """ |
| 432 | return _cpp.mesh.h(self._cpp_object, dim, entities) |
| 433 | |
| 434 | @property |
| 435 | def topology(self) -> Topology: |
no outgoing calls