Skip to content

Commit 76bee8c

Browse files
committed
missing files
1 parent 1881182 commit 76bee8c

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

test/HD/sod/idefix_py.ini

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[Grid]
2+
X1-grid 1 0.0 500 u 1.0
3+
X2-grid 1 0.0 1 u 1.0
4+
X3-grid 1 0.0 1 u 1.0
5+
6+
[TimeIntegrator]
7+
CFL 0.8
8+
tstop 0.2
9+
first_dt 1.e-4
10+
nstages 2
11+
12+
[Hydro]
13+
solver roe
14+
gamma 1.4
15+
16+
[Boundary]
17+
X1-beg outflow
18+
X1-end outflow
19+
X2-beg outflow
20+
X2-end outflow
21+
X3-beg outflow
22+
X3-end outflow
23+
24+
[Output]
25+
vtk 0.1
26+
dmp 0.2
27+
python 0.1 output myfunc

test/HD/sod/output.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import numpy as np
2+
3+
def myfunc(n, array):
4+
print("Python n=%d"%n)
5+
print("Dimensions="+str(array.shape))
6+
print(array[0,0,0,:])

0 commit comments

Comments
 (0)