aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp')
-rw-r--r--Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp b/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp
index 0cf09ebf9..744aad019 100644
--- a/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp
+++ b/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp
@@ -577,8 +577,8 @@ FlushFormatPlotfile::WriteAllRawFields(
{
// rho_fp will have either ncomps or 2*ncomps (2 being the old and new). When 2, return the new so
// there is time synchronization.
- const int nstart = warpx.getrho_fp(lev).nComp() - warpx.ncomps;
- const MultiFab rho_new(warpx.getrho_fp(lev), amrex::make_alias, nstart, warpx.ncomps);
+ const int nstart = warpx.getrho_fp(lev).nComp() - WarpX::ncomps;
+ const MultiFab rho_new(warpx.getrho_fp(lev), amrex::make_alias, nstart, WarpX::ncomps);
WriteRawMF(rho_new, dm, raw_pltname, default_level_prefix, "rho_fp", lev, plot_raw_fields_guards);
}
if (warpx.get_pointer_phi_fp(lev) != nullptr) {
@@ -586,7 +586,7 @@ FlushFormatPlotfile::WriteAllRawFields(
}
// Averaged fields on fine patch
- if (warpx.fft_do_time_averaging)
+ if (WarpX::fft_do_time_averaging)
{
WriteRawMF(warpx.getEfield_avg_fp(lev, 0) , dm, raw_pltname, default_level_prefix,
"Ex_avg_fp", lev, plot_raw_fields_guards);