Vlasiator
ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
update_project_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
projects = [
7
'Alfven'
,
8
'Diffusion'
,
9
'Dispersion'
,
10
'Distributions'
,
11
'Firehose'
,
12
'Flowthrough'
,
13
'Fluctuations'
,
14
'Harris'
,
15
'IPShock'
,
16
'KHB'
,
17
'Larmor'
,
18
'Magnetosphere'
,
19
'MultiPeak'
,
20
'Riemann1'
,
21
'Shock'
,
22
'Shocktest'
,
23
'Template'
,
24
'testAmr'
,
25
'test_fp'
,
26
'testHall'
,
27
'test_trans'
,
28
'verificationLarmor'
29
]
30
31
for
project
in
projects:
32
directory =
'../projects/'
+project+
'/'
33
for
file
in
glob.glob(directory+
"*.cfg"
):
34
print(file)
35
updatecfg(file, verbose=
True
)
36
tools
update_project_configfiles.py
Generated on
for Vlasiator by
1.16.1