- Timestamp:
- 08/02/12 17:13:12 (13 years ago)
- Location:
- issm/branches/trunk-jpl-damage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-jpl-damage
- Property svn:mergeinfo changed
-
issm/branches/trunk-jpl-damage/src/modules/TriaSearch/TriaSearch.cpp
r11933 r12878 9 9 10 10 /*input: */ 11 double*index=NULL;11 int* index=NULL; 12 12 int nel; 13 13 int dummy; … … 37 37 FetchData(&y0,&numberofnodes,Y0HANDLE); 38 38 39 /* Echo: {{{1*/40 //printf("(x0,y0)=(%g,%g)\n",x0,y0);41 /*}}}*/42 43 39 /* Run core computations: */ 44 40 TriaSearchx(&tria,index,nel,x,y,nods,x0,y0,numberofnodes); … … 54 50 } 55 51 56 void TriaSearchUsage(void) 57 { 58 _printf_(true,"TriaSearch- find triangle holding a point (x0,y0) in a mesh\n"); 59 _printf_(true,"\n"); 60 _printf_(true," Usage:\n"); 61 _printf_(true," tria=TriaSearch(index,x,y,x0,y0);\n"); 62 _printf_(true," index,x,y: mesh triangulatrion\n"); 63 _printf_(true," x0,y0: coordinates of the point for which we are trying to find a triangle\n"); 64 _printf_(true," x0,y0 can be an array of points\n"); 65 _printf_(true,"\n"); 52 void TriaSearchUsage(void){ 53 _pprintLine_("TriaSearch- find triangle holding a point (x0,y0) in a mesh"); 54 _pprintLine_(""); 55 _pprintLine_(" Usage:"); 56 _pprintLine_(" tria=TriaSearch(index,x,y,x0,y0);"); 57 _pprintLine_(" index,x,y: mesh triangulatrion"); 58 _pprintLine_(" x0,y0: coordinates of the point for which we are trying to find a triangle"); 59 _pprintLine_(" x0,y0 can be an array of points"); 60 _pprintLine_(""); 66 61 }
Note:
See TracChangeset
for help on using the changeset viewer.