diff options
author | 2020-03-10 14:02:51 -0700 | |
---|---|---|
committer | 2020-03-10 14:02:51 -0700 | |
commit | 57ff5dcd3429c749bb2ee002830713351d645362 (patch) | |
tree | 149ff9fdd7109ad4402775c7d6a9d10297db5d10 /Source/Particles/PhysicalParticleContainer.cpp | |
parent | daa4ad785dc49e1806e30aac0ab173ed18a5c1cb (diff) | |
download | WarpX-57ff5dcd3429c749bb2ee002830713351d645362.tar.gz WarpX-57ff5dcd3429c749bb2ee002830713351d645362.tar.zst WarpX-57ff5dcd3429c749bb2ee002830713351d645362.zip |
With RZ, always write out theta (#782)
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 7 |
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 |