aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/FlushFormats/FlushFormatOpenPMD.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-08-01 03:29:15 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-01 01:29:15 +0000
commit31199f61b1526f61e64d9ff3122298c08d50b81f (patch)
tree8065bcd0e47b15cefbb22af3e119bb7c42497bde /Source/Diagnostics/FlushFormats/FlushFormatOpenPMD.cpp
parent9867ccb4d8e00d4b331c7446253f4d2031e58952 (diff)
downloadWarpX-31199f61b1526f61e64d9ff3122298c08d50b81f.tar.gz
WarpX-31199f61b1526f61e64d9ff3122298c08d50b81f.tar.zst
WarpX-31199f61b1526f61e64d9ff3122298c08d50b81f.zip
Remove WarpX::GetInstance call from ParserFilter functor (#4132)
* remove WarpX::GetInstance from FilterFunctor * fix bug according to NeilZaim's suggestion * Time Doc Strings: Coarsest Level
Diffstat (limited to 'Source/Diagnostics/FlushFormats/FlushFormatOpenPMD.cpp')
-rw-r--r--Source/Diagnostics/FlushFormats/FlushFormatOpenPMD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/FlushFormats/FlushFormatOpenPMD.cpp b/Source/Diagnostics/FlushFormats/FlushFormatOpenPMD.cpp
index de7a5a5cb..2c7e5350a 100644
--- a/Source/Diagnostics/FlushFormats/FlushFormatOpenPMD.cpp
+++ b/Source/Diagnostics/FlushFormats/FlushFormatOpenPMD.cpp
@@ -158,7 +158,7 @@ FlushFormatOpenPMD::WriteToFile (
varnames, mf, geom, output_levels, output_iteration, time, isBTD, full_BTD_snapshot);
// particles: all (reside only on locally finest level)
- m_OpenPMDPlotWriter->WriteOpenPMDParticles(particle_diags, use_pinned_pc, isBTD, isLastBTDFlush, totalParticlesFlushedAlready);
+ m_OpenPMDPlotWriter->WriteOpenPMDParticles(particle_diags, time, use_pinned_pc, isBTD, isLastBTDFlush, totalParticlesFlushedAlready);
// signal that no further updates will be written to this iteration
m_OpenPMDPlotWriter->CloseStep(isBTD, isLastBTDFlush);