|
| Geometry () noexcept |
| The default constructor. More...
|
|
| Geometry (const Box &dom, const RealBox *rb=nullptr, int coord=-1, int const *is_per=nullptr) noexcept |
|
| Geometry (const Box &dom, const RealBox &rb, int coord, Array< int, AMREX_SPACEDIM > const &is_per) noexcept |
|
| ~Geometry ()=default |
|
| Geometry (const Geometry &rhs)=default |
|
| Geometry (Geometry &&rhs) noexcept=default |
|
Geometry & | operator= (const Geometry &rhs)=default |
|
Geometry & | operator= (Geometry &&rhs) noexcept=default |
|
GeometryData | data () const noexcept |
| Returns non-static copy of geometry's stored data. More...
|
|
void | define (const Box &dom, const RealBox *rb=nullptr, int coord=-1, int const *is_per=nullptr) noexcept |
|
void | define (const Box &dom, const RealBox &rb, int coord, Array< int, AMREX_SPACEDIM > const &is_per) noexcept |
|
const RealBox & | ProbDomain () const noexcept |
| Returns the problem domain. More...
|
|
void | ProbDomain (const RealBox &rb) noexcept |
| Sets the problem domain. More...
|
|
const Real * | ProbLo () const noexcept |
| Returns the lo end of the problem domain in each dimension. More...
|
|
const Real * | ProbHi () const noexcept |
| Returns the hi end of the problem domain in each dimension. More...
|
|
Real | ProbLo (int dir) const noexcept |
| Returns the lo end of the problem domain in specified direction. More...
|
|
Real | ProbHi (int dir) const noexcept |
| Returns the hi end of the problem domain in specified direction. More...
|
|
GpuArray< Real, AMREX_SPACEDIM > | ProbLoArray () const noexcept |
|
GpuArray< Real, AMREX_SPACEDIM > | ProbHiArray () const noexcept |
|
GpuArray< ParticleReal, AMREX_SPACEDIM > | ProbLoArrayInParticleReal () const noexcept |
|
GpuArray< ParticleReal, AMREX_SPACEDIM > | ProbHiArrayInParticleReal () const noexcept |
|
Real | ProbSize () const noexcept |
| Returns the overall size of the domain by multiplying the ProbLength's together. More...
|
|
Real | ProbLength (int dir) const noexcept |
| Returns length of problem domain in specified dimension. More...
|
|
const Box & | Domain () const noexcept |
| Returns our rectangular domain. More...
|
|
void | Domain (const Box &bx) noexcept |
| Sets our rectangular domain. More...
|
|
void | GetVolume (MultiFab &vol, const BoxArray &grds, const DistributionMapping &dm, int grow) const |
| Define a multifab of areas and volumes with given grow factor. More...
|
|
void | GetVolume (MultiFab &vol) const |
| Fill the pre-built multifab with volume. More...
|
|
void | GetVolume (FArrayBox &vol, const BoxArray &grds, int idx, int grow) const |
|
void | GetDLogA (MultiFab &dloga, const BoxArray &grds, const DistributionMapping &dm, int dir, int grow) const |
| Compute d(log(A))/dr at cell centers in given region and stuff the results into the passed MultiFab. More...
|
|
void | GetFaceArea (MultiFab &area, const BoxArray &grds, const DistributionMapping &dm, int dir, int grow) const |
| Compute area of cell faces in given region and stuff stuff the results into the passed MultiFab. More...
|
|
void | GetFaceArea (MultiFab &area, int dir) const |
| Fill the pre-built multifab with area. More...
|
|
void | GetFaceArea (FArrayBox &area, const BoxArray &grds, int idx, int dir, int grow) const |
|
bool | isPeriodic (int dir) const noexcept |
| Is the domain periodic in the specified direction? More...
|
|
bool | isAnyPeriodic () const noexcept |
| Is domain periodic in any direction? More...
|
|
bool | isAllPeriodic () const noexcept |
| Is domain periodic in all directions? More...
|
|
Array< int, AMREX_SPACEDIM > | isPeriodic () const noexcept |
|
GpuArray< int, AMREX_SPACEDIM > | isPeriodicArray () const noexcept |
|
int | period (int dir) const noexcept |
| What's period in specified direction? More...
|
|
Periodicity | periodicity () const noexcept |
|
Periodicity | periodicity (const Box &b) const noexcept |
|
void | periodicShift (const Box &target, const Box &src, Vector< IntVect > &out) const noexcept |
| Compute Array of shifts which will translate src so that it will intersect target with non-zero intersection. the array will be resized internally, so anything previously there will be gone DO NOT return non-periodic shifts, even if the box's do intersect without shifting. The logic is that you will only do this as a special case if there is some periodicity. More...
|
|
Box | growNonPeriodicDomain (IntVect const &ngrow) const noexcept |
| Return domain box with non-periodic directions grown by ngrow. More...
|
|
Box | growNonPeriodicDomain (int ngrow) const noexcept |
| Return domain box with non-periodic directions grown by ngrow. More...
|
|
Box | growPeriodicDomain (IntVect const &ngrow) const noexcept |
| Return domain box with periodic directions grown by ngrow. More...
|
|
Box | growPeriodicDomain (int ngrow) const noexcept |
| Return domain box with periodic directions grown by ngrow. More...
|
|
Array< int, AMREX_SPACEDIM > | setPeriodicity (Array< int, AMREX_SPACEDIM > const &period) noexcept |
|
void | coarsen (IntVect const &rr) |
|
void | refine (IntVect const &rr) |
|
bool | outsideRoundoffDomain (AMREX_D_DECL(ParticleReal x, ParticleReal y, ParticleReal z)) const |
| Returns true if a point is outside the roundoff domain. All particles with positions inside the roundoff domain are sure to be mapped to cells inside the Domain() box. Note that the same need not be true for all points inside ProbDomain(). More...
|
|
bool | insideRoundoffDomain (AMREX_D_DECL(ParticleReal x, ParticleReal y, ParticleReal z)) const |
| Returns true if a point is inside the roundoff domain. All particles with positions inside the roundoff domain are sure to be mapped to cells inside the Domain() box. Note that the same need not be true for all points inside ProbDomain(). More...
|
|
void | computeRoundoffDomain () |
| Compute the roundoff domain. Public because it contains an extended host / device lambda. More...
|
|
GpuArray< ParticleReal, AMREX_SPACEDIM > const & | RoundOffLo () const |
| Returns roundoff domain's lower end. More...
|
|
GpuArray< ParticleReal, AMREX_SPACEDIM > const & | RoundOffHi () const |
| Returns roundoff domain's higher end. More...
|
|
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...
|
|