Go to the source code of this file.
|
| namespace | SFC |
| | Peano space-filling curve as Peano's spacetree traversal runs through it.
|
| |
|
| bool | SFC._is_traversal_positive_along_axis (tuple even_flags, int axis) |
| | Python counterpart of peano4::grid::PeanoCurve::isTraversePositiveAlongAxis() for a non-inverted traversal.
|
| |
| tuple | SFC._children_in_traversal_order (tuple directions) |
| | The 3^d children of a cell in the order of peano4::utils::zfor3.
|
| |
| tuple | SFC._child_even_flags (tuple even_flags, tuple child) |
| | Even flags of a child: the middle child along an axis inverts this axis' flag.
|
| |
| int | SFC._cartesian_to_peano (tuple coordinates, int size) |
| |
| tuple | SFC._peano_to_cartesian (int peano_index, int size, int dimensions) |
| |
| int | SFC.Cartesian_to_Peano_2d (tuple[int, int] coordinates, int size) |
| | Map Cartesian index to Peano SFC index.
|
| |
| int | SFC.Cartesian_to_Peano_3d (tuple[int, int, int] coordinates, int size) |
| | Map 3-D Cartesian index to Peano SFC index.
|
| |
| tuple[int, int] | SFC.Peano_to_Cartesian_2d (int peano_index, int size) |
| | Inverse of Cartesian_to_Peano_2d.
|
| |
| tuple[int, int, int] | SFC.Peano_to_Cartesian_3d (int peano_index, int size) |
| | Inverse of Cartesian_to_Peano_3d.
|
| |