Changeset 25836 for issm/trunk/test/Par/SquareShelf2.py
- Timestamp:
- 12/08/20 08:45:53 (4 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:mergeinfo changed
-
issm/trunk/test
- Property svn:mergeinfo changed
-
issm/trunk/test/Par/SquareShelf2.py
r24313 r25836 32 32 #dbg - end 33 33 34 [md.initialization.vx]= InterpFromMeshToMesh2d(index, x, y, vx, md.mesh.x, md.mesh.y)35 [md.initialization.vy]= InterpFromMeshToMesh2d(index, x, y, vy, md.mesh.x, md.mesh.y)34 md.initialization.vx = InterpFromMeshToMesh2d(index, x, y, vx, md.mesh.x, md.mesh.y) 35 md.initialization.vy = InterpFromMeshToMesh2d(index, x, y, vy, md.mesh.x, md.mesh.y) 36 36 md.initialization.vz = np.zeros((md.mesh.numberofvertices)) 37 37 md.initialization.pressure = np.zeros((md.mesh.numberofvertices)) … … 56 56 #Friction 57 57 md.friction.coefficient = 20. * np.ones((md.mesh.numberofvertices)) 58 md.friction.coefficient[np.nonzero(md.mask. groundedice_levelset < 0.)[0]] = 0.58 md.friction.coefficient[np.nonzero(md.mask.ocean_levelset < 0.)[0]] = 0. 59 59 md.friction.p = np.ones((md.mesh.numberofelements)) 60 60 md.friction.q = np.ones((md.mesh.numberofelements))
Note:
See TracChangeset
for help on using the changeset viewer.