Changeset 7649
- Timestamp:
- 03/15/11 09:22:21 (14 years ago)
- Location:
- issm/trunk/src
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/PointCloudFindNeighborsx/PointCloudFindNeighborsxt.cpp
r7640 r7649 13 13 int my_thread; 14 14 int num_threads; 15 16 15 double* x; 17 16 double* y; … … 46 45 47 46 /*Loop over the nodes*/ 48 if (my_thread==0) printf(" interpolationprogress: %5.2lf %%",0.0);47 if (my_thread==0) printf(" loop progress: %5.2lf %%",0.0); 49 48 50 49 for (i=i0;i<i1;i++){ … … 63 62 64 63 /*insert value and go to the next point*/ 65 if 66 if (!already[j])VecSetValue(flags,j,2,INSERT_VALUES);64 if(!already[i]) VecSetValue(flags,i,1,INSERT_VALUES); 65 if(!already[j]) VecSetValue(flags,j,2,INSERT_VALUES); 67 66 already[i]=true; 68 67 already[j]=true; … … 75 74 /*Free ressources:*/ 76 75 xfree((void**)&already); 77 78 76 } -
issm/trunk/src/m/model/bedslope.m
r7645 r7649 1 function [bx,by,b]= slope(md)2 % SLOPE - compute the bed slope1 function [bx,by,b]=bedslope(md) 2 %BEDSLOPE - compute the bed slope 3 3 % 4 4 % Usage: 5 % [bx,by,s]= slope(md)5 % [bx,by,s]=bedslope(md) 6 6 7 7 %load some variables (it is much faster if the variab;es are loaded from md once for all) -
issm/trunk/src/m/model/divergence.m
r7645 r7649 1 1 function div=divergence(md,a,b) 2 %DIVERGENCE return divergence of [a;b] vector, using model's triangulation. 2 %DIVERGENCE - divergence of [a;b] vector, using model's triangulation. 3 % 4 % Usage: 5 % div=divergence(md,a,b) 3 6 4 7 if (md.dim==2), -
issm/trunk/src/mex/PointCloudFindNeighbors/PointCloudFindNeighbors.cpp
r7641 r7649 25 25 CheckNumMatlabArguments(nlhs,NLHS,nrhs,NRHS,__FUNCT__,&PointCloudFindNeighborsUsage); 26 26 27 28 27 /*Fetch inputs: */ 29 28 FetchData(&x,&nods,NULL,XHANDLE); … … 40 39 /*end module: */ 41 40 MODULEEND(); 42 43 41 } 44 42 … … 49 47 printf(" x,y: list of points.\n"); 50 48 printf(" mindistance: minimum distance that should exist between points in the cloud.\n"); 51 printf(" multithread: run multithreaded or not. with multithreads, flags can get 1 and 2 values in duplicat ges.\n");49 printf(" multithread: run multithreaded or not. with multithreads, flags can get 1 and 2 values in duplicates.\n"); 52 50 printf(" flags: array of flags (flag==1 means point is within mindistance of another point)\n"); 53 51 printf("\n");
Note:
See TracChangeset
for help on using the changeset viewer.