![]() |
Shamrock 2025.10.0
Astrophysical Code
|
A structure for 3D paving functions with periodic boundary conditions. More...
#include <shammath/include/shammath/paving_function.hpp>
Public Member Functions | |
| Tvec | f (Tvec x, int i, int j, int k) const |
| Applies the paving function with periodic boundary conditions. | |
| Tvec | f_inv (Tvec x, int i, int j, int k) const |
| Applies the inverse of the paving function. | |
| AABB< Tvec > | f_aabb (const AABB< Tvec > &aabb, int i, int j, int k) const |
| AABB< Tvec > | f_aabb_inv (const AABB< Tvec > &aabb, int i, int j, int k) const |
| std::vector< std::array< int, 3 > > | get_paving_index_intersecting (AABB< Tvec > aabb) const |
Public Attributes | |
| Tvec | box_size |
| The size of the box in each dimension. | |
Static Public Attributes | |
| static constexpr bool | can_deform_aabb = false |
A structure for 3D paving functions with periodic boundary conditions.
| Tvec | A vector type. |
Definition at line 71 of file paving_function.hpp.
|
inline |
Applies the paving function with periodic boundary conditions.
| x | The input vector. |
| i | The periodic index along the x-axis. |
| j | The periodic index along the y-axis. |
| k | The periodic index along the z-axis. |
Definition at line 87 of file paving_function.hpp.
|
inline |
Definition at line 100 of file paving_function.hpp.
|
inline |
Definition at line 104 of file paving_function.hpp.
|
inline |
Applies the inverse of the paving function.
| x | The input vector. |
| i | The periodic index along the x-axis. |
| j | The periodic index along the y-axis. |
| k | The periodic index along the z-axis. |
Definition at line 98 of file paving_function.hpp.
|
inline |
Definition at line 108 of file paving_function.hpp.
| Tvec shammath::paving_function_periodic_3d< Tvec >::box_size |
The size of the box in each dimension.
Definition at line 76 of file paving_function.hpp.
|
inlinestaticconstexpr |
Definition at line 74 of file paving_function.hpp.