source:
issm/oecreview/Archive/23390-24306/ISSM-24286-24287.diff
Last change on this file was 24307, checked in by , 5 years ago | |
---|---|
File size: 1.6 KB |
-
../trunk-jpl/src/m/classes/masstransport.py
73 73 md = checkfield(md, 'fieldname', 'masstransport.stabilization', 'values', [0, 1, 2, 3, 4]) 74 74 md = checkfield(md, 'fieldname', 'masstransport.min_thickness', '>', 0) 75 75 md = checkfield(md, 'fieldname', 'masstransport.requested_outputs', 'stringrow', 1) 76 md = checkfield(md, 'fieldname', 'masstransport.vertex_pairing', '>', 0) 76 77 77 78 return md 78 79 # }}} -
../trunk-jpl/src/m/classes/stressbalance.py
133 133 md = checkfield(md, 'fieldname', 'stressbalance.referential', 'size', [md.mesh.numberofvertices, 6]) 134 134 md = checkfield(md, 'fieldname', 'stressbalance.loadingforce', 'size', [md.mesh.numberofvertices, 3]) 135 135 md = checkfield(md, 'fieldname', 'stressbalance.requested_outputs', 'stringrow', 1) 136 136 md = checkfield(md, 'fieldname', 'stressbalance.vertex_pairing', '>', 0) 137 137 #singular solution 138 138 # if ~any((~isnan(md.stressbalance.spcvx) + ~isnan(md.stressbalance.spcvy)) == 2), 139 139 if not np.any(np.logical_and(np.logical_not(np.isnan(md.stressbalance.spcvx)), np.logical_not(np.isnan(md.stressbalance.spcvy)))):
Note:
See TracBrowser
for help on using the repository browser.