Skip to content

Commit

Permalink
fix plotfile output for RZ
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers committed Feb 24, 2025
1 parent 8d5cc91 commit 14a5927
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,9 @@ FlushFormatPlotfile::WriteParticles(const std::string& dir,
#if defined (WARPX_DIM_3D) || defined(WARPX_DIM_RZ)
real_names.push_back("position_y");
#endif
#if !defined(WARPX_DIM_RZ)
real_names.push_back("position_z");
#endif
real_names.push_back("weight");
real_names.push_back("momentum_x");
real_names.push_back("momentum_y");
Expand Down

0 comments on commit 14a5927

Please sign in to comment.