diff options
Diffstat (limited to 'Source/WarpXIO.cpp')
-rw-r--r-- | Source/WarpXIO.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WarpXIO.cpp b/Source/WarpXIO.cpp index 93a359d7c..93fb90b8f 100644 --- a/Source/WarpXIO.cpp +++ b/Source/WarpXIO.cpp @@ -1200,6 +1200,10 @@ WarpX::WritePlotFile () const particle_varnames.push_back("By"); particle_varnames.push_back("Bz"); +#if (AMREX_SPACEDIM == 2) && WARPX_RZ + particle_varnames.push_back("theta"); +#endif + #ifdef WARPX_STORE_OLD_PARTICLE_ATTRIBS particle_varnames.push_back("xold"); particle_varnames.push_back("yold"); |