aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.cpp
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-06-10 13:41:23 -0700
committerGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-06-10 13:41:23 -0700
commitdc92a96cbecb27bcae8abc29a0610a43dce53040 (patch)
tree99441b2fa8695c40d30935ef7b115e909e8518cd /Source/WarpX.cpp
parent4e2bc0444eacb6b3db36d7c3c3f7bbe6233c5f19 (diff)
downloadWarpX-dc92a96cbecb27bcae8abc29a0610a43dce53040.tar.gz
WarpX-dc92a96cbecb27bcae8abc29a0610a43dce53040.tar.zst
WarpX-dc92a96cbecb27bcae8abc29a0610a43dce53040.zip
Clean-up
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r--Source/WarpX.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp
index 65079428b..1f8784428 100644
--- a/Source/WarpX.cpp
+++ b/Source/WarpX.cpp
@@ -449,39 +449,6 @@ WarpX::ReadParameters ()
fine_tag_hi = RealVect{hi};
}
- // select which particle comps to write
- {
- pp.queryarr("particle_plot_vars", particle_plot_vars);
-
- if (particle_plot_vars.size() == 0)
- {
- if (WarpX::do_boosted_frame_diagnostic && WarpX::do_boosted_frame_particles)
- {
- particle_plot_flags.resize(PIdx::nattribs + 6, 1);
- }
- else
- {
- particle_plot_flags.resize(PIdx::nattribs, 1);
- }
- }
- else
- {
- if (WarpX::do_boosted_frame_diagnostic && WarpX::do_boosted_frame_particles)
- {
- particle_plot_flags.resize(PIdx::nattribs + 6, 0);
- }
- else
- {
- particle_plot_flags.resize(PIdx::nattribs, 0);
- }
-
- for (const auto& var : particle_plot_vars)
- {
- particle_plot_flags[ParticleStringNames::to_index.at(var)] = 1;
- }
- }
- }
-
pp.query("load_balance_int", load_balance_int);
pp.query("load_balance_with_sfc", load_balance_with_sfc);
pp.query("load_balance_knapsack_factor", load_balance_knapsack_factor);