|
bool | Ok () const noexcept |
| Is ok? More...
|
|
void | SetCoord (CoordType coord) noexcept |
| Set the CoordType. More...
|
|
CoordType | Coord () const noexcept |
| Returns the CoordType. More...
|
|
int | CoordInt () const noexcept |
| Returns the CoordType as an int. More...
|
|
bool | IsSPHERICAL () const noexcept |
| Is CoordType == SPHERICAL? More...
|
|
bool | IsRZ () const noexcept |
| Is CoordType == RZ? More...
|
|
bool | IsCartesian () const noexcept |
| Is CoordType == cartesian? More...
|
|
void | SetOffset (const Real *x_lo) noexcept |
| Sets the offset for each coordinate direction. More...
|
|
const Real * | Offset () const noexcept |
| Returns the offset. More...
|
|
Real | Offset (int dir) const noexcept |
| Returns the offset for the specified coordinate direction. More...
|
|
const Real * | CellSize () const noexcept |
| Returns the cellsize for each coordinate direction. More...
|
|
Real | CellSize (int dir) const noexcept |
| Returns the cellsize for the specified coordinate direction. More...
|
|
GpuArray< Real, AMREX_SPACEDIM > | CellSizeArray () const noexcept |
|
const Real * | InvCellSize () const noexcept |
| Returns the inverse cellsize for each coordinate direction. More...
|
|
Real | InvCellSize (int dir) const noexcept |
| Returns the inverse cellsize for the specified coordinate direction. More...
|
|
GpuArray< Real, AMREX_SPACEDIM > | InvCellSizeArray () const noexcept |
|
Real | CellCenter (int point, int dir) const noexcept |
| Returns location of cell center in specified direction. More...
|
|
void | CellCenter (const IntVect &point, Vector< Real > &loc) const noexcept |
| Return location of cell center. More...
|
|
void | CellCenter (const IntVect &point, Real *loc) const noexcept |
| Return location of cell center. More...
|
|
Real | LoEdge (int point, int dir) const noexcept |
| Returns location of lo edge in specified direction. More...
|
|
Real | LoEdge (const IntVect &point, int dir) const noexcept |
| Equivalent to LoEdge(point[dir], dir). More...
|
|
Real | HiEdge (int point, int dir) const noexcept |
| Returns location of hi edge in specified direction. More...
|
|
Real | HiEdge (const IntVect &point, int dir) const noexcept |
| Equivalent to HiEdge(point[dir], dir). More...
|
|
void | LoFace (const IntVect &point, int dir, Vector< Real > &loc) const noexcept |
| Sets location of lo face into loc. More...
|
|
void | LoFace (const IntVect &point, int dir, Real *loc) const noexcept |
| Sets location of lo face into loc. More...
|
|
void | HiFace (const IntVect &point, int dir, Vector< Real > &loc) const noexcept |
| Sets location of hi face into loc. More...
|
|
void | HiFace (const IntVect &point, int dir, Real *loc) const noexcept |
| Sets location of hi face into loc. More...
|
|
void | LoNode (const IntVect &point, Vector< Real > &loc) const noexcept |
| Return location of lower left hand corner. More...
|
|
void | LoNode (const IntVect &point, Real *loc) const noexcept |
| Return location of lower left hand corner. More...
|
|
void | HiNode (const IntVect &point, Vector< Real > &loc) const noexcept |
| Return location of upper right hand corner. More...
|
|
void | HiNode (const IntVect &point, Real *loc) const noexcept |
| Return location of upper right hand corner. More...
|
|
IntVect | CellIndex (const Real *point) const noexcept |
| Returns cell centered index of cell containing point. This may return undesired results if point is on a cell boundary. More...
|
|
IntVect | LowerIndex (const Real *point) const noexcept |
| Returns node centered index of lower left hand corner of cell containing this point. More...
|
|
IntVect | UpperIndex (const Real *point) const noexcept |
| Returns node centered index of upper right hand corner of cell containing this point. More...
|
|
void | SetVolume (FArrayBox &a_volfab, const Box ®ion) const |
| Compute cell volumes in given region and place them into input FAB. More...
|
|
void | GetVolume (FArrayBox &vol, const Box ®ion) const |
| Compute cell volumes in given region and place them into resize()d input FAB. More...
|
|
void | SetDLogA (FArrayBox &a_dlogafab, const Box ®ion, int dir) const |
| Compute d(log(A))/dr at cell centers in given region and place them into input FAB. More...
|
|
void | GetDLogA (FArrayBox &dloga, const Box ®ion, int dir) const |
| Compute d(log(A))/dr at cell centers in given region and return the results in the resize()d input FAB. More...
|
|
Real | Volume (const IntVect &point) const |
| Return the volume of the specified cell. More...
|
|
Real | Volume (const Real xlo[AMREX_SPACEDIM], const Real xhi[AMREX_SPACEDIM]) const |
| Return the volume of the specified cell. More...
|
|
void | SetFaceArea (FArrayBox &a_areafab, const Box ®ion, int dir) const |
| Compute area of cell faces in given region and given index direction and return the result in input FAB. More...
|
|
void | GetFaceArea (FArrayBox &area, const Box ®ion, int dir) const |
| Compute area of cell faces in given region and given index direction and return the result in resize()d input FAB. More...
|
|
Real | AreaLo (const IntVect &point, int dir) const noexcept |
| Returns lo face area of given cell in direction dir. More...
|
|
Real | AreaHi (const IntVect &point, int dir) const noexcept |
| Returns hi face area of given cell in direction dir. More...
|
|
void | GetEdgeLoc (Vector< Real > &loc, const Box ®ion, int dir) const |
| Return array of physical locations of cell edges in the resize()d input array. More...
|
|
void | GetCellLoc (Vector< Real > &loc, const Box ®ion, int dir) const |
| Return array of physical locations of cell centers in the resize()d input array. More...
|
|
void | GetEdgeVolCoord (Vector< Real > &vc, const Box ®ion, int dir) const |
| Return array of volume coordinates at cell edges for region in given direction. More...
|
|
void | GetCellVolCoord (Vector< Real > &vc, const Box ®ion, int dir) const |
| Return array of volume coordinates at cell centers for region in given direction. More...
|
|
Coordinate System.
Routines for mapping between physical coordinate system and index space.