diff options
author | 2020-01-31 12:19:05 -0800 | |
---|---|---|
committer | 2020-01-31 12:19:05 -0800 | |
commit | 6651d1df96f67e162ced862093633e925cbc8133 (patch) | |
tree | 25be32604c7ee0b8cebd1e2e9f770d84a9aaa5ca /Source/WarpX.cpp | |
parent | e1a4813b2cf90ba8112acd6211304a3c92d09af9 (diff) | |
parent | 3f5bcb4a798862e0a5aa604e5dce162bb0e291b3 (diff) | |
download | WarpX-6651d1df96f67e162ced862093633e925cbc8133.tar.gz WarpX-6651d1df96f67e162ced862093633e925cbc8133.tar.zst WarpX-6651d1df96f67e162ced862093633e925cbc8133.zip |
Merge branch 'dev' into soa_to_aos
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r-- | Source/WarpX.cpp | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 5f6f2b2e5..d93fab7df 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -1,3 +1,14 @@ +/* Copyright 2016-2020 Andrew Myers, Ann Almgren, Aurore Blelly + * Axel Huebl, Burlen Loring, David Grote + * Glenn Richardson, Jean-Luc Vay, Junmin Gu + * Mathieu Lobet, Maxence Thevenet, Remi Lehe + * Revathi Jambunathan, Weiqun Zhang, Yinjian Zhao + * levinem + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include <WarpX.H> #include <WarpX_f.H> #include <WarpXConst.H> @@ -190,6 +201,9 @@ WarpX::WarpX () } do_back_transformed_particles = mypc->doBackTransformedDiagnostics(); + /** create object for reduced diagnostics */ + reduced_diags = new MultiReducedDiags(); + Efield_aux.resize(nlevs_max); Bfield_aux.resize(nlevs_max); @@ -287,6 +301,8 @@ WarpX::~WarpX () ClearLevel(lev); } + delete reduced_diags; + #ifdef BL_USE_SENSEI_INSITU delete insitu_bridge; #endif @@ -466,12 +482,11 @@ WarpX::ReadParameters () amrex::Abort("J-damping can only be done when PML are inside simulation domain (do_pml_in_domain=1)"); } - pp.query("dump_openpmd", dump_openpmd); + pp.query("openpmd_int", openpmd_int); pp.query("openpmd_backend", openpmd_backend); #ifdef WARPX_USE_OPENPMD pp.query("openpmd_tspf", openpmd_tspf); #endif - pp.query("dump_plotfiles", dump_plotfiles); pp.query("plot_costs", plot_costs); pp.query("plot_raw_fields", plot_raw_fields); pp.query("plot_raw_fields_guards", plot_raw_fields_guards); |