Changeset 21452
- Timestamp:
- 12/23/16 15:37:10 (8 years ago)
- Location:
- issm/trunk-jpl/src/m/mesh
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/mesh/bamg.m
r19198 r21452 122 122 %Check that file exists 123 123 riftfile=getfieldvalue(options,'rifts'); 124 [pathr,namer,extr]=fileparts(riftfile); 124 125 if ~exist(riftfile,'file') 125 126 error(['bamg error message: file ' riftfile ' not found ']); 126 end 127 rift=expread(riftfile); 127 elseif strcmp(extr,'.exp'), 128 rift=expread(riftfile); 129 elseif strcmp(extr,'.shp'), 130 rift=shpread(riftfile); 131 end 128 132 129 133 for i=1:length(rift), -
issm/trunk-jpl/src/m/mesh/rifts/rifttipsonmesh.m
r13806 r21452 4 4 5 5 %read rifts from outline file 6 rifts=expread(riftoutline); 6 %rifts=expread(riftoutline); 7 [pathr,namer,extr]=fileparts(riftoutline); 8 if strcmp(extr,'.exp'), 9 rifts=expread(riftoutline); 10 elseif strcmp(extr,'.shp'), 11 rifts=shpread(riftoutline); 12 end 7 13 8 14 tips=[];
Note:
See TracChangeset
for help on using the changeset viewer.