Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
update_project_configfiles.py
Go to the documentation of this file.
1import numpy as np
2import sys,os
3import glob
4from update_vlasiator_cfg_variables import updatecfg
5
6projects = [
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
31for project in projects:
32 directory = '../projects/'+project+'/'
33 for file in glob.glob(directory+"*.cfg"):
34 print(file)
35 updatecfg(file, verbose=True)
36