Skip to content

Commit

Permalink
Add Geometry::RoundoffLo and RoundoffHi functions (#4097)
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang authored Aug 20, 2024
1 parent c49d35e commit 68e3741
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Src/Base/AMReX_Geometry.H
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,14 @@ public:
*/
void computeRoundoffDomain ();

//! Returns roundoff domain's lower end
[[nodiscard]] GpuArray<ParticleReal, AMREX_SPACEDIM> const&
RoundOffLo () const { return roundoff_lo; }

//! Returns roundoff domain's higher end
[[nodiscard]] GpuArray<ParticleReal, AMREX_SPACEDIM> const&
RoundOffHi () const { return roundoff_hi; }

private:
void read_params ();

Expand Down

0 comments on commit 68e3741

Please sign in to comment.