aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2020-05-29 17:42:10 -0700
committerGravatar GitHub <noreply@github.com> 2020-05-29 17:42:10 -0700
commitbd7d6f6dd6464c1fbeab3867bae770dd78fb029c (patch)
treeab785acfe5f8c5e76b81d3ddd7b2c40e6d71a7a4 /Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp
parentd337f7c1780e9d1fe820b1cca712da04e8e328f7 (diff)
downloadWarpX-bd7d6f6dd6464c1fbeab3867bae770dd78fb029c.tar.gz
WarpX-bd7d6f6dd6464c1fbeab3867bae770dd78fb029c.tar.zst
WarpX-bd7d6f6dd6464c1fbeab3867bae770dd78fb029c.zip
Move sensei to new diagnostics (#1040)
* move ascent to new diagnostics * move Sensei to the new diagnostics * minor cleaning in new diagnostics * oops, had forgotten some files * fix typo * another typo introduced when merging master into this branch * FlushFormat::WriteToFile takes Vector<MultiFab>& instead of Vector<const MultiFab*> * IO output multifab has 1 guard cell when using sensei * updates to FlushFormatSensei * add some documentation to the class * add refrence to AmrMesh instance needed by the adaptor * add some error output in the case WarpX was not compiled w/ SENSEI * tested with SENSEI 3.2.0 Co-authored-by: Burlen Loring <bloring@lbl.gov>
Diffstat (limited to 'Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp')
-rw-r--r--Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp b/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp
index 015380441..d0bc9292c 100644
--- a/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp
+++ b/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp
@@ -14,7 +14,7 @@ namespace
void
FlushFormatCheckpoint::WriteToFile (
const amrex::Vector<std::string> varnames,
- const amrex::Vector<const amrex::MultiFab*> mf,
+ const amrex::Vector<amrex::MultiFab>& mf,
amrex::Vector<amrex::Geometry>& geom,
const amrex::Vector<int> iteration, const double time,
const amrex::Vector<ParticleDiag>& particle_diags, int nlev, const std::string prefix,