aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/FlushFormats/FlushFormatAscent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Diagnostics/FlushFormats/FlushFormatAscent.cpp')
-rw-r--r--Source/Diagnostics/FlushFormats/FlushFormatAscent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Diagnostics/FlushFormats/FlushFormatAscent.cpp b/Source/Diagnostics/FlushFormats/FlushFormatAscent.cpp
index 028cd2502..b0903b5a4 100644
--- a/Source/Diagnostics/FlushFormats/FlushFormatAscent.cpp
+++ b/Source/Diagnostics/FlushFormats/FlushFormatAscent.cpp
@@ -6,7 +6,7 @@ using namespace amrex;
void
FlushFormatAscent::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,
@@ -20,7 +20,7 @@ FlushFormatAscent::WriteToFile (
// wrap mesh data
conduit::Node bp_mesh;
amrex::MultiLevelToBlueprint(
- nlev, mf, varnames, geom, time, iteration, warpx.refRatio(), bp_mesh);
+ nlev, amrex::GetVecOfConstPtrs(mf), varnames, geom, time, iteration, warpx.refRatio(), bp_mesh);
WriteParticles(particle_diags, bp_mesh);