Changeset 16269
- Timestamp:
- 09/27/13 16:34:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.m
r16187 r16269 23 23 error(['SetMarineIceSheetBC error message: ice front file ' icefrontfile ' not found']); 24 24 end 25 incontour=ContourToMesh(md.mesh.elements,md.mesh.x,md.mesh.y,icefrontfile,'node',2); 25 [path,name,ext]=fileparts(icefrontfile); 26 if strcmp(ext,'.shp'), 27 contours=shpread(icefrontfile); 28 elseif strcmp(ext,'.exp'), 29 contours=expread(icefrontfile); 30 end 31 incontour=ContourToMesh(md.mesh.elements,md.mesh.x,md.mesh.y,contours,'node',2); 26 32 vertexonicefront=double(md.mesh.vertexonboundary & incontour); 27 33 else
Note:
See TracChangeset
for help on using the changeset viewer.