- Timestamp:
- 04/29/14 10:36:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.py
r17870 r17876 42 42 print "SetMarineIceSheetBC warning: ice front all around the glacier, no dirichlet found. Dirichlet must be added manually." 43 43 44 md.stressbalance.spcvx=float('nan')*numpy.ones( (md.mesh.numberofvertices,))45 md.stressbalance.spcvy=float('nan')*numpy.ones( (md.mesh.numberofvertices,))46 md.stressbalance.spcvz=float('nan')*numpy.ones( (md.mesh.numberofvertices,))44 md.stressbalance.spcvx=float('nan')*numpy.ones(md.mesh.numberofvertices) 45 md.stressbalance.spcvy=float('nan')*numpy.ones(md.mesh.numberofvertices) 46 md.stressbalance.spcvz=float('nan')*numpy.ones(md.mesh.numberofvertices) 47 47 md.stressbalance.referential=float('nan')*numpy.ones((md.mesh.numberofvertices,6)) 48 48 md.stressbalance.loadingforce=0*numpy.ones((md.mesh.numberofvertices,3)) … … 68 68 else: 69 69 pos=numpy.nonzero(md.mesh.vertexonboundary)[0] 70 md.stressbalance.spcvx[pos [:]]=071 md.stressbalance.spcvy[pos [:]]=072 md.stressbalance.spcvz[pos [:]]=070 md.stressbalance.spcvx[pos]=0 71 md.stressbalance.spcvy[pos]=0 72 md.stressbalance.spcvz[pos]=0 73 73 74 74 #Dirichlet Values
Note:
See TracChangeset
for help on using the changeset viewer.