diff options
Diffstat (limited to 'Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp')
-rw-r--r-- | Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp b/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp index 4655128d5..22043c108 100644 --- a/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp +++ b/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp @@ -305,9 +305,7 @@ FlushFormatPlotfile::WriteParticles(const std::string& dir, auto tmp = pc->make_alike<amrex::PinnedArenaAllocator>(); if (isBTD) { PinnedMemoryParticleContainer* pinned_pc = particle_diags[i].getPinnedParticleContainer(); - tmp.SetParticleGeometry(0,pinned_pc->Geom(0)); - tmp.SetParticleBoxArray(0,pinned_pc->ParticleBoxArray(0)); - tmp.SetParticleDistributionMap(0, pinned_pc->ParticleDistributionMap(0)); + tmp = pinned_pc->make_alike<amrex::PinnedArenaAllocator>(); } Vector<std::string> real_names; |