aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXUtil.cpp
diff options
context:
space:
mode:
authorGravatar Michael E Rowan <38045958+mrowan137@users.noreply.github.com> 2020-04-28 10:58:28 -0700
committerGravatar GitHub <noreply@github.com> 2020-04-28 10:58:28 -0700
commiteed48168c350b9368ae811124883382c0c6cab68 (patch)
treeb8d15dabb5640e01a7e67ba8b3ad607aaef13189 /Source/Utils/WarpXUtil.cpp
parent67aae2d1378e3a6b62cbee04671e399747a77f2b (diff)
downloadWarpX-eed48168c350b9368ae811124883382c0c6cab68.tar.gz
WarpX-eed48168c350b9368ae811124883382c0c6cab68.tar.zst
WarpX-eed48168c350b9368ae811124883382c0c6cab68.zip
Style change to match the standard (#957)
Diffstat (limited to 'Source/Utils/WarpXUtil.cpp')
-rw-r--r--Source/Utils/WarpXUtil.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Utils/WarpXUtil.cpp b/Source/Utils/WarpXUtil.cpp
index f841b43ed..a5730b245 100644
--- a/Source/Utils/WarpXUtil.cpp
+++ b/Source/Utils/WarpXUtil.cpp
@@ -134,11 +134,11 @@ void NullifyMF(amrex::MultiFab& mf, int lev, amrex::Real zmin, amrex::Real zmax)
for(amrex::MFIter mfi(mf, amrex::TilingIfNotGPU()); mfi.isValid(); ++mfi){
const amrex::Box& bx = mfi.tilebox();
// Get box lower and upper physical z bound, and dz
- #if (AMREX_SPACEDIM == 3)
+#if (AMREX_SPACEDIM == 3)
amrex::Array<amrex::Real,3> galilean_shift = { 0., 0., 0., };
- #elif (AMREX_SPACEDIM == 2)
+#elif (AMREX_SPACEDIM == 2)
amrex::Array<amrex::Real,3> galilean_shift = { 0., std::numeric_limits<Real>::quiet_NaN(), 0., } ;
- #endif
+#endif
const amrex::Real zmin_box = WarpX::LowerCorner(bx, galilean_shift, lev)[2];
const amrex::Real zmax_box = WarpX::UpperCorner(bx, lev)[2];
amrex::Real dz = WarpX::CellSize(lev)[2];