Changeset 22300
- Timestamp:
- 12/22/17 08:24:32 (7 years ago)
- Location:
- issm/trunk-jpl/src/m/mesh
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/mesh/bamg.m
r22215 r22300 523 523 %Check for orphan 524 524 if any(~ismember(1:md.mesh.numberofvertices,sort(unique(reshape(md.mesh.elements,3*md.mesh.numberofelements,1))))) 525 error('Output mesh has orphans. Decrease MaxCornerAngle to prevent outside points (ex: 0.01)');525 error('Output mesh has orphans. Check your Domain and/or RequiredVertices'); 526 526 end 527 527 end -
issm/trunk-jpl/src/m/mesh/bamg.py
r22299 r22300 479 479 #Check for orphan 480 480 if np.any(np.logical_not(np.in1d(np.arange(1,md.mesh.numberofvertices+1),md.mesh.elements.flat))): 481 raise RuntimeError("Output mesh has orphans. Decrease MaxCornerAngle to prevent outside points (ex: 0.01)")481 raise RuntimeError("Output mesh has orphans. Check your Domain and/or RequiredVertices") 482 482 483 483 return md
Note:
See TracChangeset
for help on using the changeset viewer.