diff options
author | 2019-03-29 15:15:54 +0100 | |
---|---|---|
committer | 2019-03-29 15:15:54 +0100 | |
commit | 0605ce27e604549c3e93f2e9e342bd356000cf9e (patch) | |
tree | 6cdb42dfacedbefbc231c0e7d9674b825cf95696 /Python/pywarpx/WarpX.py | |
parent | b534b688dedd48b645bac47854260321e7960bf9 (diff) | |
parent | 761c82556e31de274d1e4c356bf81189abb1a1aa (diff) | |
download | WarpX-0605ce27e604549c3e93f2e9e342bd356000cf9e.tar.gz WarpX-0605ce27e604549c3e93f2e9e342bd356000cf9e.tar.zst WarpX-0605ce27e604549c3e93f2e9e342bd356000cf9e.zip |
Merge pull request #79 from ECP-WarpX/parser
use parser's setConstant function instead of using string replacement
Diffstat (limited to 'Python/pywarpx/WarpX.py')
-rw-r--r-- | Python/pywarpx/WarpX.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pywarpx/WarpX.py b/Python/pywarpx/WarpX.py index f58d4f111..4e4e41187 100644 --- a/Python/pywarpx/WarpX.py +++ b/Python/pywarpx/WarpX.py @@ -1,5 +1,5 @@ from .Bucket import Bucket -from .Constants import constants +from .Constants import my_constants from .Amr import amr from .Geometry import geometry from .Algo import algo @@ -18,7 +18,7 @@ class WarpX(Bucket): def create_argv_list(self): argv = [] argv += warpx.attrlist() - argv += constants.attrlist() + argv += my_constants.attrlist() argv += amr.attrlist() argv += geometry.attrlist() argv += algo.attrlist() |