diff options
author | 2019-07-27 10:25:50 -0700 | |
---|---|---|
committer | 2019-07-27 10:25:50 -0700 | |
commit | 3740d49d20eefb20b551e21aff2fc552ee2681f9 (patch) | |
tree | 96baf11606d34afc2f91c0c00341731857e31d0e /Source/WarpX.cpp | |
parent | bab953440212fb484992e73d7453a89b40a643dd (diff) | |
download | WarpX-3740d49d20eefb20b551e21aff2fc552ee2681f9.tar.gz WarpX-3740d49d20eefb20b551e21aff2fc552ee2681f9.tar.zst WarpX-3740d49d20eefb20b551e21aff2fc552ee2681f9.zip |
clarify comments and clean stuff used for debugging
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r-- | Source/WarpX.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 4a0a46766..1f5ade13a 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -387,15 +387,10 @@ WarpX::ReadParameters () pp.query("dump_plotfiles", dump_plotfiles); pp.query("plot_raw_fields", plot_raw_fields); pp.query("plot_raw_fields_guards", plot_raw_fields_guards); - /* - if (ParallelDescriptor::NProcs() == 1) { - plot_proc_number = false; - } - */ pp.query("plot_coarsening_ratio", plot_coarsening_ratio); - int do_user_plot_vars; - do_user_plot_vars = pp.queryarr("fields_to_plot", fields_to_plot); - if (not do_user_plot_vars){ + bool user_fields_to_plot; + user_fields_to_plot = pp.queryarr("fields_to_plot", fields_to_plot); + if (not user_fields_to_plot){ // If not specified, set default values fields_to_plot = {"Ex", "Ey", "Ez", "Bx", "By", "Bz", "jx", "jy", "jz", |