diff options
author | 2021-08-18 17:13:21 -0700 | |
---|---|---|
committer | 2021-08-19 00:13:21 +0000 | |
commit | 263d9627bb8038227ba1a5f40ee937b0affbf8d6 (patch) | |
tree | 081afc5e2c89293ddaecb73a63c2b3e6b7bd115c /Source/Particles/ElementaryProcess | |
parent | 1bbfd4691301c541a75e1a9e0c26dd4199d66a16 (diff) | |
download | WarpX-263d9627bb8038227ba1a5f40ee937b0affbf8d6.tar.gz WarpX-263d9627bb8038227ba1a5f40ee937b0affbf8d6.tar.zst WarpX-263d9627bb8038227ba1a5f40ee937b0affbf8d6.zip |
Implemented the parsing of integer input parameters (#2138)
* Implemented the integer parser
* Updated comment
* Updated documentation
* Fixed unused parameters
* Added some additional documentation
* Reworked the implementation so that expressions are evaluated as real and rounded to the nearest integer
* Fixed loop type
* Copied over initial value of variable to the real instance
* Update Source/Utils/WarpXUtil.cpp
make result const
* Update Source/Utils/WarpXUtil.cpp
make result const
* Update Source/Utils/WarpXUtil.cpp
Fix comment
* Added safeCastToInt
* Fixed adding of safeCastToInt
* Cleaned up safe casting routine
* Added parsing of more integer inputs
* Cleaned up the integer parser, removing unneeded cast from int to real
* Made x a const in safeCastToInt
Co-authored-by: Neïl Zaim <49716072+NeilZaim@users.noreply.github.com>
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/Particles/ElementaryProcess')
0 files changed, 0 insertions, 0 deletions