![]() |
Block-Structured AMR Software Framework
|
Types and operations for real space coordinates and geometry in AMReX. More...
Classes | |
| struct | amrex::XDim3 |
| A simple struct holding 3 Real values for a 3D coordinate. More... | |
| class | amrex::CoordSys |
| Coordinate system; provides mapping between physical space and index space. More... | |
| struct | amrex::GeometryData |
| GPU-safe snapshot of Geometry data suitable for capture in GPU kernels. More... | |
| class | amrex::Geometry |
| Rectangular problem domain geometry. More... | |
| class | amrex::RealBox |
| A Box with real dimensions. More... | |
| class | amrex::RealVectND< dim > |
| A Real vector in dim-dimensional space. More... | |
Functions | |
| std::ostream & | amrex::operator<< (std::ostream &, const Geometry &) |
| Write a Geometry to an output stream in ASCII format. | |
| std::istream & | amrex::operator>> (std::istream &is, Geometry &g) |
| Read a Geometry from an input stream in ASCII format. | |
| template<std::floating_point T> | |
| __host__ __device__ T | amrex::node_coord (T problo, int i, T dx) noexcept |
Coordinate of node i: problo + i*dx. | |
| const Geometry & | amrex::DefaultGeometry () |
| Return the default Geometry held by the top-level AMReX instance. | |
Types and operations for real space coordinates and geometry in AMReX.
These abstractions define physical coordinates, bounding boxes and geometric information associated with the computational domain.
Central types include:
|
inline |
|
inlinenoexcept |
Coordinate of node i: problo + i*dx.
The explicit fma makes the result the same in every kernel, so a point placed at a node by one code path equals the node recomputed by another.
| std::ostream & amrex::operator<< | ( | std::ostream & | os, |
| const Geometry & | g ) |
Write a Geometry to an output stream in ASCII format.