Changeset 15806
- Timestamp:
- 08/12/13 16:47:12 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/boundaryconditions/SetIceShelfBC.py
r15801 r15806 38 38 md.stressbalance.loadingforce=0*numpy.ones((md.mesh.numberofvertices,3)) 39 39 40 #Icefront position 41 pos=numpy.nonzero(nodeonicefront)[0] 42 md.mask.icelevelset[pos]=0 43 40 44 #First find segments that are not completely on the front 41 45 if md.mesh.dimension==2: … … 64 68 else: 65 69 print " boundary conditions for stressbalance model: spc set as zero" 66 67 #Icefront position68 pos=numpy.nonzero(nodeonicefront)[0]69 md.mask.icelevelset[pos]=070 70 71 71 #Create zeros basalforcings and surfaceforcings
Note:
See TracChangeset
for help on using the changeset viewer.