aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index 7af9bdac8..d5e3bfb99 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -130,6 +130,13 @@ PhysicalParticleContainer::PhysicalParticleContainer (AmrCore* amr_core, int isp
plot_flags[ParticleStringNames::to_index.at(var)] = 1;
}
}
+
+#ifdef WARPX_DIM_RZ
+ // Always write out theta, whether or not it's requested,
+ // to be consistent with always writing out r and z.
+ plot_flags[ParticleStringNames::to_index.at("theta")] = 1;
+#endif
+
}
// Parse galilean velocity