Skip to content

Commit 836b7bd

Browse files
committed
test: port all the idefix tests to the testme.json new semantic for test.py
1 parent dac41a4 commit 836b7bd

43 files changed

Lines changed: 878 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

test/Dust/DustEnergy/testme.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"namings": "ini",
3+
"variants": [
4+
{
5+
"dumpname": "dump.0001.dmp",
6+
"ini": ["idefix.ini","idefix-implicit.ini"],
7+
"noplot": true,
8+
"reconstruction": 2,
9+
"tolerance": 0
10+
}
11+
]
12+
}

test/Dust/DustyShock/testme.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"variants": [
3+
{
4+
"dumpname": "dump.0001.dmp",
5+
"ini": ["idefix.ini","idefix-implicit.ini"],
6+
"noplot": true,
7+
"reconstruction": 2,
8+
"tolerance": 1e-14
9+
}
10+
]
11+
}

test/Dust/DustyWave/testme.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"namings": "ini",
3+
"variants": [
4+
{
5+
"dumpname": "dump.0001.dmp",
6+
"ini": ["idefix.ini","idefix-implicit.ini"],
7+
"noplot": true,
8+
"reconstruction": 2,
9+
"tolerance": 1e-14
10+
}
11+
]
12+
}

test/HD/FargoPlanet/testme.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"namings": "ini,mpi",
3+
"variants": [
4+
{
5+
"dumpname": "dump.0001.dmp",
6+
"ini": ["idefix.ini", "idefix-rkl.ini"],
7+
"noplot": true,
8+
"reconstruction": 2,
9+
"single": false,
10+
"mpi": [false, true],
11+
"dec": [2, 2],
12+
"tolerance": 1e-13
13+
}
14+
],
15+
"when": [
16+
{
17+
"conditions": {
18+
"ini": "idefix-rkl.ini"
19+
},
20+
"apply": {
21+
"tolerance": 1e-12
22+
}
23+
}
24+
]
25+
}

test/HD/MachReflection/testme.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"namings": "ini,mpi",
3+
"variants": [
4+
{
5+
"dumpname": "dump.0001.dmp",
6+
"ini": ["idefix.ini","idefix-hll.ini","idefix-hllc.ini","idefix-tvdlf.ini"],
7+
"noplot": true,
8+
"reconstruction": 2,
9+
"single": false,
10+
"mpi": [false, true],
11+
"dec": [2, 2],
12+
"tolerance": 0
13+
}
14+
]
15+
}

test/HD/SedovBlastWave/testme.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"namings": "definitionFile,ini",
3+
"variants": [
4+
{
5+
"dumpname": "dump.0001.dmp",
6+
"definitionFile": "definitions.hpp",
7+
"ini": ["idefix.ini"],
8+
"vectPot": false,
9+
"reconstruction": 2,
10+
"single": false,
11+
"mpi": true,
12+
"dec": [2, 2, 2 ],
13+
"standardTest": false,
14+
"tolerance": 0
15+
},{
16+
"dumpname": "dump.0001.dmp",
17+
"definitionFile": "definitions-spherical.hpp",
18+
"ini": ["idefix-spherical.ini"],
19+
"vectPot": false,
20+
"reconstruction": 2,
21+
"single": false,
22+
"mpi": true,
23+
"dec": [2, 2, 2 ],
24+
"standardTest": false,
25+
"tolerance": 0
26+
}
27+
]
28+
}

test/HD/ShearingBox/testme.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"namings": "ini",
3+
"variants": [
4+
{
5+
"dumpname": "dump.0001.dmp",
6+
"ini": ["idefix.ini","idefix-fargo.ini"],
7+
"noplot": true,
8+
"reconstruction": 2,
9+
"single": false,
10+
"mpi": false,
11+
"dec": ["2","1","2"],
12+
"tolerance": 1e-15
13+
}
14+
]
15+
}

test/HD/ViscousDisk/testme.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"namings": "ini",
3+
"variants": [
4+
{
5+
"dumpname": "dump.0001.dmp",
6+
"ini": ["idefix.ini","idefix-rkl.ini"],
7+
"noplot": true,
8+
"reconstruction": 2,
9+
"single": false,
10+
"mpi": false,
11+
"dec": ["2","1","2"],
12+
"tolerance": 3e-15
13+
}
14+
]
15+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"namings": "ini,mpi",
3+
"variants": [
4+
{
5+
"dumpname": "dump.0001.dmp",
6+
"ini": ["idefix.ini","idefix-rkl.ini"],
7+
"noplot": true,
8+
"reconstruction": 2,
9+
"single": false,
10+
"mpi": [false, true],
11+
"dec": ["2","2"],
12+
"tolerance": 3e-14
13+
}
14+
],
15+
"when": {
16+
"conditions": {
17+
"ini": "idefix-rkl.ini"
18+
},
19+
"apply": {
20+
"tolerance": 1e-8
21+
}
22+
}
23+
}

test/HD/sod-iso/testme.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"namings": "ini,single,reconstruction",
3+
"variants": [
4+
{
5+
"dumpname": "dump.0001.dmp",
6+
"ini": ["idefix.ini","idefix-hll.ini","idefix-hllc.ini","idefix-tvdlf.ini"],
7+
"vectPot": false,
8+
"noplot": true,
9+
"reconstruction": [2, 3],
10+
"single": [false],
11+
"mpi": false,
12+
"tolerance": 0
13+
},{
14+
"dumpname": "dump.0001.dmp",
15+
"ini": ["idefix-rk3.ini","idefix-hllc-rk3.ini"],
16+
"vectPot": false,
17+
"noplot": true,
18+
"reconstruction": [4],
19+
"single": [false],
20+
"mpi": false,
21+
"tolerance": 0
22+
},{
23+
"dumpname": "dump.0001.dmp",
24+
"ini": ["idefix.ini","idefix-hll.ini","idefix-hllc.ini","idefix-tvdlf.ini"],
25+
"vectPot": false,
26+
"noplot": true,
27+
"reconstruction": [2],
28+
"single": [true],
29+
"mpi": false,
30+
"tolerance": 0
31+
}
32+
]
33+
}

0 commit comments

Comments
 (0)