Changeset 16295 for issm/trunk-jpl/src/m/classes/stressbalance.py
- Timestamp:
- 10/03/13 15:35:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/stressbalance.py
r15987 r16295 112 112 md = checkfield(md,'stressbalance.spcvx','forcing',1) 113 113 md = checkfield(md,'stressbalance.spcvy','forcing',1) 114 if md.mesh.dimension==3:114 if strcmp(md.mesh.meshtype(),'3D'): 115 115 md = checkfield(md,'stressbalance.spcvz','forcing',1) 116 116 md = checkfield(md,'stressbalance.restol','size',[1],'>',0) … … 145 145 md.checkmessage("Vectors in stressbalance.referential (columns 1 to 3 and 4 to 6) must be orthogonal") 146 146 #CHECK THAT NO rotation specified for FS Grounded ice at base 147 # if md.mesh.dimension==3 & md.flowequation.isFS, 148 if md.mesh.dimension==3 and md.flowequation.isFS: 147 if strcmp(md.mesh.meshtype(),'3D') and md.flowequation.isFS: 149 148 pos=numpy.nonzero(numpy.logical_and(md.mask.groundedice_levelset,md.mesh.vertexonbed)) 150 149 if numpy.any(numpy.logical_not(numpy.isnan(md.stressbalance.referential[pos,:]))):
Note:
See TracChangeset
for help on using the changeset viewer.