Required
global_connectivity| Type: | npt.NDArray |
| Description: | Connectivity array with global indices. |
def compact_indices(global_connectivity: npt.NDArray) -> npt.NDArray: ...| Type: | npt.NDArray |
| Description: | Connectivity array with global indices. |
npt.NDArrayn_dim = 2: - Permutation.DMPlex: [cells, vertices, edges] - Permutation.VTK: [vertices, edges, cells] n_dim = 3: - Permutation.DMPlex: [cells, vertices, edges, facets] - Permutation.VTK: [vertices, edges, facets, cells]
def get_connectivity_permutation(
n_dim: typing.Literal[2, 3],
model_order: int,
permutation: Permutation = Permutation.DMPlex,
) -> (
tuple[npt.NDArray, npt.NDArray, npt.NDArray]
| tuple[npt.NDArray, npt.NDArray, npt.NDArray, npt.NDArray]
): ...| Type: | typing.Literal[2, 3] |
| Description: | The dimension of the mesh. |
| Type: | int |
| Description: | The model order of the mesh. |
| Type: | Permutation |
| Default value: | Permutation.DMPlex |
| Description: | The desired permutation. |
tuple[npt.NDArray, npt.NDArray, npt.NDArray] | tuple[npt.NDArray, npt.NDArray, npt.NDArray, npt.NDArray]def get_connectivity_permutation_2d(
model_order: int,
) -> tuple[npt.NDArray, npt.NDArray, npt.NDArray]: ...| Type: | int |
| Description: | The model order. |
tuple[npt.NDArray, npt.NDArray, npt.NDArray]def get_connectivity_permutation_3d(
model_order: int,
) -> tuple[npt.NDArray, npt.NDArray, npt.NDArray, npt.NDArray]: ...| Type: | int |
| Description: | The model order. |
tuple[npt.NDArray, npt.NDArray, npt.NDArray, npt.NDArray]def interior_slice(ndim: int) -> tuple[slice, ...]: ...| Type: | int |
| Description: | The number of dimensions. |
tuple[slice, ...]class Permutation(enum.Enum):
def __init__(self): ...