Vlasiator
ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
update_testpackage_configfiles.py
Go to the documentation of this file.
1
import
numpy
as
np
2
import
sys,os
3
import
glob
4
from
update_vlasiator_cfg_variables
import
updatecfg
5
6
tests = [
7
'acctest_1_maxw_500k_30kms_1deg'
,
8
'acctest_2_maxw_500k_100k_20kms_10deg'
,
9
'acctest_3_substeps'
,
10
'acctest_4_helium'
,
11
'acctest_5_proton_antiproton'
,
12
'Flowthrough_amr'
,
13
'Flowthrough_trans_periodic'
,
14
'Flowthrough_x_inflow_y_outflow'
,
15
'Flowthrough_x_inflow_y_outflow_acc'
,
16
'Magnetosphere_polar_small'
,
17
'Magnetosphere_small'
,
18
'restart_read'
,
19
'restart_write'
,
20
'Selfgen_Waves_Periodic'
,
21
'test_fp_fsolver_only_3D'
,
22
'test_fp_substeps'
,
23
'transtest_2_maxw_500k_100k_20kms_20x20'
,
24
'transtest_amr'
,
25
]
26
27
for
test
in
tests:
28
directory =
'../testpackage/tests/'
+test+
'/'
29
for
file
in
glob.glob(directory+
"*.cfg"
):
30
print(file)
31
updatecfg(file, verbose=
True
)
32
tools
update_testpackage_configfiles.py
Generated on
for Vlasiator by
1.16.1