diff options
author | 2019-08-29 21:07:10 -0700 | |
---|---|---|
committer | 2019-08-29 21:07:10 -0700 | |
commit | 70ca786dc9f28bb88c7ceed288698f600797cd6a (patch) | |
tree | 68d5de274e624fe1b7d4f59d1e205c468a2aa0fa /Source/Diagnostics/SliceDiagnostic.cpp | |
parent | 72e25b7fe8c8578055afd1a72c6161bfa3fbb769 (diff) | |
parent | 9dd0c194c15885024c0c15a36a92fedd561993d6 (diff) | |
download | WarpX-70ca786dc9f28bb88c7ceed288698f600797cd6a.tar.gz WarpX-70ca786dc9f28bb88c7ceed288698f600797cd6a.tar.zst WarpX-70ca786dc9f28bb88c7ceed288698f600797cd6a.zip |
Merge branch 'dev' into picsar_cleanup
Diffstat (limited to 'Source/Diagnostics/SliceDiagnostic.cpp')
-rw-r--r-- | Source/Diagnostics/SliceDiagnostic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Diagnostics/SliceDiagnostic.cpp b/Source/Diagnostics/SliceDiagnostic.cpp index 9f365b39d..0ec528e32 100644 --- a/Source/Diagnostics/SliceDiagnostic.cpp +++ b/Source/Diagnostics/SliceDiagnostic.cpp @@ -140,10 +140,10 @@ CreateSlice( const MultiFab& mf, const Vector<Geometry> &dom_geom, MFIter mfi_dst(mfDst); for (MFIter mfi(mfSrc); mfi.isValid(); ++mfi) { - FArrayBox& Src_fabox = mfSrc[mfi]; + Array4<Real const> const& Src_fabox = mfSrc.const_array(mfi); const Box& Dst_bx = mfi_dst.validbox(); - FArrayBox& Dst_fabox = mfDst[mfi_dst]; + Array4<Real> const& Dst_fabox = mfDst.array(mfi_dst); int scomp = 0; int dcomp = 0; |