Changeset 21171
- Timestamp:
- 08/26/16 14:45:14 (9 years ago)
- Location:
- issm/trunk-jpl/src/m/mesh
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/mesh/triangle.m
r19949 r21171 36 36 37 37 area=resolution^2; 38 39 %Check that file exist (this is a very very common mistake) 40 if ~exist(domainname) 41 error(['file "' domainname '" not found']); 42 end 38 43 39 44 %Mesh using TriMesh -
issm/trunk-jpl/src/m/mesh/triangle.py
r20910 r21171 43 43 area = resolution**2 44 44 45 #Check that file exist (this is a very very common mistake) 46 if not os.path.exists(domainfile): 47 raise IOError("file '%s' not found" % domainfile) 48 45 49 #Mesh using TriMesh 46 50 md.mesh=mesh2d()
Note:
See TracChangeset
for help on using the changeset viewer.