aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WarpX.H')
-rw-r--r--Source/WarpX.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WarpX.H b/Source/WarpX.H
index f55670cfb..216c8f6a8 100644
--- a/Source/WarpX.H
+++ b/Source/WarpX.H
@@ -250,6 +250,9 @@ public:
static amrex::RealBox getRealBox(const amrex::Box& bx, int lev);
static std::array<amrex::Real,3> LowerCorner (const amrex::Box& bx, int lev);
static std::array<amrex::Real,3> UpperCorner (const amrex::Box& bx, int lev);
+ // Returns the locations of the lower corner of the box, shifted up
+ // a half cell if cell centered.
+ static std::array<amrex::Real,3> LowerCornerWithCentering (const amrex::Box& bx, int lev);
static amrex::IntVect RefRatio (int lev);