aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/WarpXIO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Diagnostics/WarpXIO.cpp')
-rw-r--r--Source/Diagnostics/WarpXIO.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Diagnostics/WarpXIO.cpp b/Source/Diagnostics/WarpXIO.cpp
index 7f2769114..ccbdd280c 100644
--- a/Source/Diagnostics/WarpXIO.cpp
+++ b/Source/Diagnostics/WarpXIO.cpp
@@ -627,6 +627,10 @@ WarpX::WritePlotFile () const
particle_varnames.push_back("By");
particle_varnames.push_back("Bz");
+#ifdef WARPX_RZ
+ particle_varnames.push_back("theta");
+#endif
+
#ifdef WARPX_STORE_OLD_PARTICLE_ATTRIBS
particle_varnames.push_back("xold");
particle_varnames.push_back("yold");