Skip to content

Commit 2adee40

Browse files
CHG: making python test identical to MATLAB
1 parent 8f25deb commit 2adee40

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/NightlyRun/test362.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
md = triangle(model(), '../Exp/Square.exp', 50000.)
1414
md.mesh.x = md.mesh.x / 100
1515
md.mesh.y = md.mesh.y / 100
16-
md.miscellaneous.name = 'testChannels'
1716

1817
# Miscellaneous
1918
md = setmask(md, '', '') # Everywhere grounded
@@ -23,7 +22,7 @@
2322

2423
# Some constants
2524
md.constants.g = 9.8
26-
md.materials.rho_ice = 910
25+
md.materials.rho_ice = 910.
2726

2827
# Geometry
2928
md.geometry.surface = -0.02 * md.mesh.x + 320
@@ -35,7 +34,7 @@
3534
md.initialization.vx = 1.0e-6 * md.constants.yts * np.ones((md.mesh.numberofvertices))
3635
md.initialization.vy = np.zeros((md.mesh.numberofvertices))
3736
md.initialization.temperature = (273. - 20.) * np.ones((md.mesh.numberofvertices))
38-
md.initialization.watercolumn = 0.03 * np.ones((md.mesh.numberofvertices))
37+
md.initialization.watercolumn = 0.2 * np.ones((md.mesh.numberofvertices))
3938
md.initialization.hydraulic_potential = md.materials.rho_ice * md.constants.g * md.geometry.thickness
4039

4140
#cMaterials

0 commit comments

Comments
 (0)