aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXAlgorithmSelection.cpp
diff options
context:
space:
mode:
authorGravatar Weiqun Zhang <WeiqunZhang@lbl.gov> 2021-05-20 21:10:36 -0700
committerGravatar GitHub <noreply@github.com> 2021-05-20 21:10:36 -0700
commite5c7cf562fa5809f56841b693ba3ee007b86a323 (patch)
tree3fddd20dfe4cbf22a9e9b9e1702b594ce11f74e9 /Source/Utils/WarpXAlgorithmSelection.cpp
parent45e6483a10e4513c14e4570369cdd0fc2539e775 (diff)
downloadWarpX-e5c7cf562fa5809f56841b693ba3ee007b86a323.tar.gz
WarpX-e5c7cf562fa5809f56841b693ba3ee007b86a323.tar.zst
WarpX-e5c7cf562fa5809f56841b693ba3ee007b86a323.zip
New Parser capability: `if` (#1976)
* New Parser capability: `if` Add a new Parser capability, `if`. It takes three arguments and returns the value of either the second or the third argumen depending on the first argument. For example if(abs(x) < 10, exp(-x), 0) returns exp(-x) if abs(x) < 10, otherwise 0. Note that in case the condition (i.e., the first arguemnt) is false, the second argument is not evaluated. * Fix a minor bug in computing the depth of ast
Diffstat (limited to 'Source/Utils/WarpXAlgorithmSelection.cpp')
0 files changed, 0 insertions, 0 deletions