diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Initialization/WarpXInitData.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Initialization/WarpXInitData.cpp b/Source/Initialization/WarpXInitData.cpp index 6ed0dbed2..7a31267c1 100644 --- a/Source/Initialization/WarpXInitData.cpp +++ b/Source/Initialization/WarpXInitData.cpp @@ -286,6 +286,9 @@ WarpX::InitLevelData (int lev, Real time) } } + // if the input string is "constant", the values for the + // external field on the grid must be provided in the input file. + if (B_ext_grid_s == "parse_b_ext_grid_function") { Store_parserString("Bx_external_grid_function(x,y,z)", |