Ignore:
Timestamp:
11/27/12 12:04:54 (12 years ago)
Author:
Mathieu Morlighem
Message:

NEW: NodeConnectivity uses integers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/wrappers/NodeConnectivity/NodeConnectivity.cpp

    r13236 r14016  
    1313
    1414        /*inputs: */
    15         double* elements=NULL;
    16         int     nel;
    17         int     nods;
     15        int* elements=NULL;
     16        int  nels;
     17        int  nods;
    1818
    1919        /*outputs: */
    20         double* connectivity=NULL;
    21         int     width;
     20        int* connectivity=NULL;
     21        int  width;
    2222
    2323        /*Boot module: */
     
    2828       
    2929        /*Input datasets: */
    30         FetchData(&elements,&nel,NULL,ELEMENTS);
     30        FetchData(&elements,&nels,NULL,ELEMENTS);
    3131        FetchData(&nods,NUMNODES);
    3232
    3333        /*!Generate internal degree of freedom numbers: */
    34         NodeConnectivityx(&connectivity, &width,elements,nel, nods);
     34        NodeConnectivityx(&connectivity,&width,elements,nels,nods);
    3535
    3636        /*write output datasets: */
Note: See TracChangeset for help on using the changeset viewer.