diff options
author | 2020-01-10 10:12:05 +0100 | |
---|---|---|
committer | 2020-01-10 10:12:05 +0100 | |
commit | 59363502148a0de2f100aa12b8c322e30bb476fc (patch) | |
tree | 93fd1d201678ccecf9201606f6dff5b32d2ec70b /Source/WarpX.cpp | |
parent | cc6aa7990f884bd9f1266e73a416b69f10b2b048 (diff) | |
parent | 60ec41dee3ac7630d4589abf227a3cf4503c7a7d (diff) | |
download | WarpX-59363502148a0de2f100aa12b8c322e30bb476fc.tar.gz WarpX-59363502148a0de2f100aa12b8c322e30bb476fc.tar.zst WarpX-59363502148a0de2f100aa12b8c322e30bb476fc.zip |
Merge branch 'dev' into add_harmonic_beam
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r-- | Source/WarpX.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 377d103d1..48b4bbd55 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -30,6 +30,18 @@ Vector<Real> WarpX::E_external_particle(3, 0.0); Vector<Real> WarpX::E_external_grid(3, 0.0); Vector<Real> WarpX::B_external_grid(3, 0.0); +std::string WarpX::B_ext_grid_s = "default"; +std::string WarpX::E_ext_grid_s = "default"; + +// Parser for B_external on the grid +std::string WarpX::str_Bx_ext_grid_function; +std::string WarpX::str_By_ext_grid_function; +std::string WarpX::str_Bz_ext_grid_function; +// Parser for E_external on the grid +std::string WarpX::str_Ex_ext_grid_function; +std::string WarpX::str_Ey_ext_grid_function; +std::string WarpX::str_Ez_ext_grid_function; + int WarpX::do_moving_window = 0; int WarpX::moving_window_dir = -1; Real WarpX::moving_window_v = std::numeric_limits<amrex::Real>::max(); @@ -309,9 +321,6 @@ WarpX::ReadParameters () pp.queryarr("B_external_particle", B_external_particle); pp.queryarr("E_external_particle", E_external_particle); - pp.queryarr("E_external_grid", E_external_grid); - pp.queryarr("B_external_grid", B_external_grid); - pp.query("do_moving_window", do_moving_window); if (do_moving_window) { |