diff options
author | 2019-05-09 20:08:24 -0700 | |
---|---|---|
committer | 2019-05-09 20:08:24 -0700 | |
commit | 8e5e956f751e47f6eb8435be56dc623ce770c434 (patch) | |
tree | 045ab25b614c54cc711d3484d7bf128323b9f53c /Source/Particles/PhysicalParticleContainer.cpp | |
parent | 886d49c55cd179c34197fef2880d9623ce37ce22 (diff) | |
download | WarpX-8e5e956f751e47f6eb8435be56dc623ce770c434.tar.gz WarpX-8e5e956f751e47f6eb8435be56dc623ce770c434.tar.zst WarpX-8e5e956f751e47f6eb8435be56dc623ce770c434.zip |
some cleaning
Diffstat (limited to '')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 1bf41816e..b3c598c22 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -100,9 +100,7 @@ PhysicalParticleContainer::PhysicalParticleContainer (AmrCore* amr_core, int isp if (WarpX::do_boosted_frame_diagnostic && WarpX::do_boosted_frame_particles){ plot_flags.resize(PIdx::nattribs + 6, 0); } else { - // Set plot_flags to 1 for data in plot_vars plot_flags.resize(PIdx::nattribs, 0); - Print()<<"here2"<<std::endl; } // If not none, set plot_flags values to 1 for elements in plot_vars. if (plot_vars[0] != "none"){ @@ -110,7 +108,7 @@ PhysicalParticleContainer::PhysicalParticleContainer (AmrCore* amr_core, int isp // Return error if var not in PIdx. AMREX_ALWAYS_ASSERT_WITH_MESSAGE( ParticleStringNames::to_index.count(var), - "<species>.plot_vars argument not in ParticleStringNames"); + "plot_vars argument not in ParticleStringNames"); plot_flags[ParticleStringNames::to_index.at(var)] = 1; } } |