Changeset 25516
- Timestamp:
- 09/02/20 16:11:49 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/modules/BamgTriangulate.py
r24213 r25516 3 3 4 4 def BamgTriangulate(x, y): 5 """ 6 BAMGTRIANGULATE 5 """BAMGTRIANGULATE 7 6 8 7 Usage: 9 8 index = BamgTriangulate(x, y) 10 9 11 index: index of the triangulation12 x, y: coordinates of the nodes10 index : index of the triangulation 11 x, y : coordinates of the nodes 13 12 """ 14 13 15 # Call mexmodule14 # Call Python module 16 15 index = BamgTriangulate_python(x, y) 17 # return 18 return index 16 17 return index[0] -
issm/trunk-jpl/test/NightlyRun/test2004.m
r25515 r25516 154 154 latAIS=delH{:,2}; 155 155 delHAIS=delH{:,3}; 156 points=[longAIS,latAIS]; 157 index=delaunayn(points); 156 % points=[longAIS,latAIS]; 157 % index=delaunayn(points); 158 index=BamgTriangulate(longAIS, latAIS); 158 159 lat=md.mesh.lat; 159 160 long=md.mesh.long+360; … … 263 264 latGIS=delH(:,2); 264 265 delHGIS=delH(:,3); 265 points=[longGIS,latGIS]; 266 index=delaunayn(points); 266 % points=[longGIS,latGIS]; 267 % index=delaunayn(points); 268 index=BamgTriangulate(longGIS, latGIS); 267 269 lat=md.mesh.lat; 268 270 long=md.mesh.long+360; … … 276 278 latGLA=delH(:,2); 277 279 delHGLA=sum(delH(:,3:end),2); 278 points=[longGLA,latGLA]; 279 index=delaunayn(points); 280 % points=[longGLA,latGLA]; 281 % index=delaunayn(points); 282 index=BamgTriangulate(longGLA, latGLA); 280 283 lat=md.mesh.lat; 281 284 long=md.mesh.long+360;
Note:
See TracChangeset
for help on using the changeset viewer.