Changeset 25163 for issm/trunk-jpl/src/m/plot/processmesh.m
- Timestamp:
- 06/26/20 11:03:14 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/processmesh.m
r25058 r25163 15 15 end 16 16 17 %special case for mes g2dvertical17 %special case for mesh 2dvertical 18 18 if strcmp(domaintype(md.mesh),'2Dvertical'), 19 19 [x y z elements is2d isplanet] = processmesh(md.mesh,options); … … 64 64 65 65 %is it a 2d plot? 66 if md.mesh.dimension()==2 ,66 if md.mesh.dimension()==2 | getfieldvalue(options,'layer',0)>=1, 67 67 is2d=1; 68 68 else 69 if getfieldvalue(options,'layer',0)>=1, 70 is2d=1; 71 else 72 is2d=0; 73 end 69 is2d=0; 74 70 end 75 71 … … 79 75 error('processmesh error message: cannot work with 3D meshes for now'); 80 76 end 81 %we modify the mesh temporarily to a 2d mesh from which the 3d mesh was extruded .77 %we modify the mesh temporarily to a 2d mesh from which the 3d mesh was extruded 82 78 x=x2d; 83 79 y=y2d;
Note:
See TracChangeset
for help on using the changeset viewer.