Changeset 7649


Ignore:
Timestamp:
03/15/11 09:22:21 (14 years ago)
Author:
Mathieu Morlighem
Message:

minor

Location:
issm/trunk/src
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/PointCloudFindNeighborsx/PointCloudFindNeighborsxt.cpp

    r7640 r7649  
    1313        int     my_thread;
    1414        int     num_threads;
    15        
    1615        double* x;
    1716        double* y;
     
    4645
    4746        /*Loop over the nodes*/
    48         if (my_thread==0) printf("      interpolation progress:   %5.2lf %%",0.0);
     47        if (my_thread==0) printf("      loop progress:   %5.2lf %%",0.0);
    4948
    5049        for (i=i0;i<i1;i++){
     
    6362
    6463                                /*insert value and go to the next point*/
    65                                 if (!already[i]) VecSetValue(flags,i,1,INSERT_VALUES);
    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);
    6766                                already[i]=true;
    6867                                already[j]=true;
     
    7574        /*Free ressources:*/
    7675        xfree((void**)&already);
    77 
    7876}
  • issm/trunk/src/m/model/bedslope.m

    r7645 r7649  
    1 function [bx,by,b]=slope(md)
    2 %SLOPE - compute the bed slope
     1function [bx,by,b]=bedslope(md)
     2%BEDSLOPE - compute the bed slope
    33%
    44%   Usage:
    5 %      [bx,by,s]=slope(md)
     5%      [bx,by,s]=bedslope(md)
    66
    77%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  
    11function 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)
    36
    47if (md.dim==2),
  • issm/trunk/src/mex/PointCloudFindNeighbors/PointCloudFindNeighbors.cpp

    r7641 r7649  
    2525        CheckNumMatlabArguments(nlhs,NLHS,nrhs,NRHS,__FUNCT__,&PointCloudFindNeighborsUsage);
    2626
    27        
    2827        /*Fetch inputs: */
    2928        FetchData(&x,&nods,NULL,XHANDLE);
     
    4039        /*end module: */
    4140        MODULEEND();
    42 
    4341}
    4442
     
    4947        printf("      x,y: list of points.\n");
    5048        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 duplicatges.\n");
     49        printf("      multithread: run multithreaded or not. with multithreads, flags can get 1 and 2 values in duplicates.\n");
    5250        printf("      flags: array of flags (flag==1 means point is within mindistance of another point)\n");
    5351        printf("\n");
Note: See TracChangeset for help on using the changeset viewer.