File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -27,4 +27,4 @@ test/ref_solns/interpInlet/restart_output.sol.h5 filter=lfs diff=lfs merge=lfs -
27
27
test /meshes /spongeBox.msh filter =lfs diff =lfs merge =lfs - text
28
28
test /ref_solns /sgsLoMach /restart_output.sol.h5 filter =lfs diff =lfs merge =lfs - text
29
29
test /ref_solns /aveLoMach /restart_output.sol.h5 filter =lfs diff =lfs merge =lfs - text
30
- test /ref_solns /flow1d_coupling.sol. h5 filter =lfs diff =lfs merge =lfs - text
30
+ test /ref_solns /flow1d_coupling.h5 filter =lfs diff =lfs merge =lfs - text
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ EXTRA_DIST = tap-driver.sh test_tps_splitcomm.py soln_differ inputs meshes lte-
35
35
ref_solns/reactBinDiff/*.h5 \
36
36
ref_solns/reactSingleRx/*.h5 \
37
37
ref_solns/reactTable/*.h5 \
38
- ref_solns/flow1d_coupling.sol. h5 \
38
+ ref_solns/flow1d_coupling.h5 \
39
39
vpath.sh die.sh count_gpus.sh sniff_mpirun.sh \
40
40
cyl3d.gpu.test cyl3d.mflow.gpu.test wedge.gpu.test \
41
41
averaging.gpu.test cyl3d.test cyl3d.gpu.python.test cyl3d.mflow.test cyl3d.dtconst.test \
Original file line number Diff line number Diff line change 58
58
error = np .abs (power_1d - power_2d )/ np .abs (power_2d )
59
59
assert error < 1e-5 , '1d and 2d Joule heating integrals should match'
60
60
61
+ SOLN_FILE = "flow1d_coupling.sol.h5"
61
62
# Save output with hdf5
62
- with h5py .File ("flow1d_coupling.sol.h5" , "w" ) as f :
63
+ with h5py .File (SOLN_FILE , "w" ) as f :
63
64
_ = f .create_dataset ('input/axial_coordinates' , data = z_1d )
64
65
_ = f .create_dataset ('input/torch_radius' , data = radius_1d )
65
66
_ = f .create_dataset ('input/plasma_conductivity' , data = cond_1d )
You can’t perform that action at this time.
0 commit comments