diff options
Diffstat (limited to 'Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp')
-rw-r--r-- | Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp b/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp index 0da484fb2..fc685dc05 100644 --- a/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp +++ b/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp @@ -15,7 +15,7 @@ namespace void FlushFormatPlotfile::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, @@ -31,7 +31,7 @@ FlushFormatPlotfile::WriteToFile ( VisMF::SetHeaderVersion(amrex::VisMF::Header::Version_v1); if (plot_raw_fields) rfs.emplace_back("raw_fields"); amrex::WriteMultiLevelPlotfile(filename, nlev, - mf, + amrex::GetVecOfConstPtrs(mf), varnames, geom, time, iteration, warpx.refRatio(), "HyperCLaw-V1.1", |