Skip to content

Commit

Permalink
added a workaround for issue 4604
Browse files Browse the repository at this point in the history
  • Loading branch information
guj committed Jan 23, 2024
1 parent 94babda commit 04b942f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Diagnostics/WarpXOpenPMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ WarpXOpenPMDPlot::DumpToFile (ParticleContainer* pc,
}

if (is_last_flush_to_step) {
SetupPos(currSpecies, NewParticleVectorSize, isBTD); // workaround for issue 4604
SetConstParticleRecordsEDPIC(currSpecies, NewParticleVectorSize, charge, mass);
}

Expand Down

0 comments on commit 04b942f

Please sign in to comment.