diff options
author | 2019-05-28 15:14:42 -0700 | |
---|---|---|
committer | 2019-05-28 15:14:42 -0700 | |
commit | 1b75fb714c81ebf35254bb61f49b15fb9b8b6ed3 (patch) | |
tree | 7c13e8bb21157bc3d7559f95d33691e7bfb26f47 /Source/WarpX.cpp | |
parent | 5da2c42c3f4fbe4d48547f28bdc86f310c664271 (diff) | |
parent | 24147a2d9977426c8c3461b9f6459e0834d3ce7a (diff) | |
download | WarpX-1b75fb714c81ebf35254bb61f49b15fb9b8b6ed3.tar.gz WarpX-1b75fb714c81ebf35254bb61f49b15fb9b8b6ed3.tar.zst WarpX-1b75fb714c81ebf35254bb61f49b15fb9b8b6ed3.zip |
Merge branch 'dev' into clean_godfrey
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r-- | Source/WarpX.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 7fe12debf..eb943ae6a 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -57,6 +57,7 @@ int WarpX::num_mirrors = 0; int WarpX::sort_int = -1; bool WarpX::do_boosted_frame_diagnostic = false; +std::string WarpX::lab_data_directory = "lab_frame_data"; int WarpX::num_snapshots_lab = std::numeric_limits<int>::lowest(); Real WarpX::dt_snapshots_lab = std::numeric_limits<Real>::lowest(); bool WarpX::do_boosted_frame_fields = true; @@ -321,6 +322,8 @@ WarpX::ReadParameters () AMREX_ALWAYS_ASSERT_WITH_MESSAGE(gamma_boost > 1.0, "gamma_boost must be > 1 to use the boosted frame diagnostic."); + pp.query("lab_data_directory", lab_data_directory); + std::string s; pp.get("boost_direction", s); AMREX_ALWAYS_ASSERT_WITH_MESSAGE( (s == "z" || s == "Z"), @@ -1001,7 +1004,6 @@ WarpX::ComputeDivE (MultiFab& divE, int dcomp, void WarpX::BuildBufferMasks () { - int ngbuffer = std::max(n_field_gather_buffer, n_current_deposition_buffer); for (int lev = 1; lev <= maxLevel(); ++lev) { for (int ipass = 0; ipass < 2; ++ipass) |