Changeset 14297
- Timestamp:
- 02/01/13 10:04:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/exp/flowlines.m
r9734 r14297 38 38 39 39 %check seed points 40 tria=TriaSearch(index,x,y,x0,y0); 40 %tria=TriaSearch(index,x,y,x0,y0); 41 tria=tsearch(x,y,index,x0,y0); 41 42 pos=find(isnan(tria)); 42 43 x0(pos)=[]; … … 69 70 %find current triangle 70 71 queue=find(~done); 71 tria=TriaSearch(index,x,y,X(queue),Y(queue)); 72 %tria=TriaSearch(index,x,y,X(queue),Y(queue)); 73 tria=tsearch(x,y,index,X(queue),Y(queue)); 72 74 73 75 %check that the point is actually inside a triangle of the mesh … … 118 120 %find current triangle 119 121 queue=find(~done); 120 tria=TriaSearch(index,x,y,X(queue),Y(queue)); 122 %tria=TriaSearch(index,x,y,X(queue),Y(queue)); 123 tria=tsearch(x,y,index,X(queue),Y(queue)); 121 124 122 125 %check that the point is actually inside a triangle of the mesh
Note:
See TracChangeset
for help on using the changeset viewer.