aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXTagging.cpp
diff options
context:
space:
mode:
authorGravatar RevathiJambunathan <revanathan@gmail.com> 2019-10-31 11:22:49 -0700
committerGravatar RevathiJambunathan <revanathan@gmail.com> 2019-10-31 11:22:49 -0700
commit6a6ac6d4604b846959b56cd07fdf7935dc9c48d1 (patch)
treefd5db73702fb3d93c17fec52049475b018687772 /Source/Utils/WarpXTagging.cpp
parenteb47baaba039722df73a08f15c38c12535179bc4 (diff)
parent7cf08f6e336457b4a48874985712087faa984b64 (diff)
downloadWarpX-6a6ac6d4604b846959b56cd07fdf7935dc9c48d1.tar.gz
WarpX-6a6ac6d4604b846959b56cd07fdf7935dc9c48d1.tar.zst
WarpX-6a6ac6d4604b846959b56cd07fdf7935dc9c48d1.zip
merging with changes in the dev. Specifically changing boosted to back-transformed
Diffstat (limited to 'Source/Utils/WarpXTagging.cpp')
-rw-r--r--Source/Utils/WarpXTagging.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Utils/WarpXTagging.cpp b/Source/Utils/WarpXTagging.cpp
index 8ea3211a3..91bb802e8 100644
--- a/Source/Utils/WarpXTagging.cpp
+++ b/Source/Utils/WarpXTagging.cpp
@@ -22,9 +22,9 @@ WarpX::ErrorEst (int lev, TagBoxArray& tags, Real time, int /*ngrow*/)
for (BoxIterator bi(bx); bi.ok(); ++bi)
{
const IntVect& cell = bi();
- RealVect pos {AMREX_D_DECL((cell[0]+0.5)*dx[0]+problo[0],
- (cell[1]+0.5)*dx[1]+problo[1],
- (cell[2]+0.5)*dx[2]+problo[2])};
+ RealVect pos {AMREX_D_DECL((cell[0]+0.5_rt)*dx[0]+problo[0],
+ (cell[1]+0.5_rt)*dx[1]+problo[1],
+ (cell[2]+0.5_rt)*dx[2]+problo[2])};
if (pos > fine_tag_lo && pos < fine_tag_hi) {
fab(cell) = TagBox::SET;
}