diff options
author | 2020-01-06 16:42:49 -0800 | |
---|---|---|
committer | 2020-01-06 16:42:49 -0800 | |
commit | a8b92c298b3c74d61b3dc3b1b3ddfa3f85b534f7 (patch) | |
tree | 99560fa027f35b33a36624754790964e4f73eb81 /Source/Initialization/WarpXInitData.cpp | |
parent | 02c4656ddc2c90d58ce260eba02d0b51ed8ba56a (diff) | |
download | WarpX-a8b92c298b3c74d61b3dc3b1b3ddfa3f85b534f7.tar.gz WarpX-a8b92c298b3c74d61b3dc3b1b3ddfa3f85b534f7.tar.zst WarpX-a8b92c298b3c74d61b3dc3b1b3ddfa3f85b534f7.zip |
adding comment regarding external EB values that are constant
Diffstat (limited to 'Source/Initialization/WarpXInitData.cpp')
-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)", |