From a8b92c298b3c74d61b3dc3b1b3ddfa3f85b534f7 Mon Sep 17 00:00:00 2001 From: RevathiJambunathan Date: Mon, 6 Jan 2020 16:42:49 -0800 Subject: adding comment regarding external EB values that are constant --- Source/Initialization/WarpXInitData.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Initialization/WarpXInitData.cpp') 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)", -- cgit v1.2.3