![]() |
Block-Structured AMR Software Framework
|
GPU-safe snapshot of Geometry data suitable for capture in GPU kernels. More...
#include <AMReX_Geometry.H>
Public Member Functions | |
| __host__ __device__ const Real * | CellSize () const noexcept |
| Returns the cellsize for each coordinate direction. | |
| __host__ __device__ Real | CellSize (int dir) const noexcept |
Returns the cellsize for direction dir. | |
| __host__ __device__ const Real * | ProbLo () const noexcept |
| Returns the lo end of the problem domain in each dimension. | |
| __host__ __device__ Real | ProbLo (int dir) const noexcept |
Returns the lo end of the problem domain in direction dir. | |
| __host__ __device__ const Real * | ProbHi () const noexcept |
| Returns the hi end of the problem domain in each dimension. | |
| __host__ __device__ Real | ProbHi (int dir) const noexcept |
Returns the hi end of the problem domain in direction dir. | |
| __host__ __device__ const Box & | Domain () const noexcept |
| Returns our rectangular domain. | |
| __host__ __device__ int | isPeriodic (const int i) const noexcept |
| Returns whether the domain is periodic in the given direction. | |
| __host__ __device__ int | Coord () const noexcept |
| Coordinates type. | |
Public Attributes | |
| RealBox | prob_domain |
| Physical bounds of the problem domain. | |
| Box | domain |
| Cell-centered index-space domain. | |
| Real | dx [3] |
| Cell size in each dimension. | |
| int | is_periodic [3] |
| For each dimension, 0 if the domain is non-periodic and 1 if it is. | |
| int | coord |
| Coordinate-system type: 0 for Cartesian, 1 for RZ, and 2 for spherical. | |
GPU-safe snapshot of Geometry data suitable for capture in GPU kernels.
|
inlinenoexcept |
Returns the cellsize for each coordinate direction.
Returns the cellsize for direction dir.
|
inlinenoexcept |
Coordinates type.
|
inlinenoexcept |
Returns our rectangular domain.
Returns whether the domain is periodic in the given direction.
|
inlinenoexcept |
Returns the hi end of the problem domain in each dimension.
Returns the hi end of the problem domain in direction dir.
|
inlinenoexcept |
Returns the lo end of the problem domain in each dimension.
Returns the lo end of the problem domain in direction dir.
| int amrex::GeometryData::coord |
Coordinate-system type: 0 for Cartesian, 1 for RZ, and 2 for spherical.
| Box amrex::GeometryData::domain |
Cell-centered index-space domain.
| Real amrex::GeometryData::dx[3] |
Cell size in each dimension.
| int amrex::GeometryData::is_periodic[3] |
For each dimension, 0 if the domain is non-periodic and 1 if it is.
| RealBox amrex::GeometryData::prob_domain |
Physical bounds of the problem domain.