Changeset 24919 for issm/trunk-jpl/src/m/classes/mesh3dsurface.py
- Timestamp:
- 05/29/20 15:09:44 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/mesh3dsurface.py
r24897 r24919 122 122 md = checkfield(md, 'fieldname', 'mesh.elements', 'size', [md.mesh.numberofelements, 3]) 123 123 if np.any(np.logical_not(np.in1d(np.arange(1, md.mesh.numberofvertices + 1), md.mesh.elements.flat))): 124 md = checkmessage(md, 'orphan nodes have been found. Check the mesh outline')124 md = md.checkmessage('orphan nodes have been found; check the mesh outline') 125 125 126 126 md = checkfield(md, 'fieldname', 'mesh.numberofelements', '>', 0) … … 129 129 130 130 if (solution == 'ThermalSolution'): 131 md = checkmessage(md,'thermal not supported for 2d mesh')131 md = md.checkmessage('thermal not supported for 2d mesh') 132 132 133 133 return md
Note:
See TracChangeset
for help on using the changeset viewer.