aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXAlgorithmSelection.cpp
diff options
context:
space:
mode:
authorGravatar Weiqun Zhang <WeiqunZhang@lbl.gov> 2021-05-24 12:13:02 -0700
committerGravatar GitHub <noreply@github.com> 2021-05-24 12:13:02 -0700
commit79f432a12dd8220fab68eb7eb81b82022a431fd0 (patch)
treeb81a5181dfec8713e3e126b7cc1f4ca6f2d6067e /Source/Utils/WarpXAlgorithmSelection.cpp
parent0f516ad1377e6d514c3521048c0e975d4349e081 (diff)
downloadWarpX-79f432a12dd8220fab68eb7eb81b82022a431fd0.tar.gz
WarpX-79f432a12dd8220fab68eb7eb81b82022a431fd0.tar.zst
WarpX-79f432a12dd8220fab68eb7eb81b82022a431fd0.zip
EB initialization with Parser (#1980)
If `warpx.eb_implicit_function = ...` is present in input parameters, Parser will be used to initialize EB. For example, ``` warpx.eb_implicit_function = "max(max(max(x-0.5,-0.5-x), max(y-0.5,-0.5-y)), max(z-0.5,-0.5-z))" ``` specifies a box with boundaries at x=+-0.5, y=+-0.5 and z=+-0.5 and regular domain inside the box. ``` warpx.eb_implicit_function = "-(x**2+y**2+z**2-0.2**2)" ``` specifies a solid sphere at (0,0,0) with a radius of 0.2.
Diffstat (limited to 'Source/Utils/WarpXAlgorithmSelection.cpp')
0 files changed, 0 insertions, 0 deletions