Changeset 24491


Ignore:
Timestamp:
12/20/19 15:48:18 (5 years ago)
Author:
tsantos
Message:

CHG: changing long to int64_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/AdaptiveMeshRefinement.cpp

    r23501 r24491  
    612612
    613613        /*Generate the elements*/
    614         long index;
     614        int64_t index;
    615615   const int mat = this->GetElemMaterialID();
    616    TPZManVector<long> elem(this->GetNumberOfNodes(),0);
     616   TPZManVector<int64_t> elem(this->GetNumberOfNodes(),0);
    617617        this->index2sid.clear(); this->index2sid.resize(this->numberofelements);
    618618   this->sid2index.clear();
     
    646646   int mat     = this->GetElemMaterialID();;
    647647   int reftype = 1;
    648    long index;
     648   int64_t index;
    649649
    650650        //nodes
     
    662662                }
    663663
    664                 TPZManVector<long> elem(3,0);
     664                TPZManVector<int64_t> elem(3,0);
    665665      for(int j=0;j<3;j++) elem[j] = geoel->NodeIndex(j);
    666666
     
    732732        /*Basic verification*/
    733733        if(!pdata) _error_("Impossible to continue: pdata is NULL!\n");
    734         if(pdata[0]<=0) _error_("Impossible to continue: nvertices <=0!\n");
    735         if(pdata[1]<=0) _error_("Impossible to continue: nelements <=0!\n");
     734        if(*pdata[0]<=0) _error_("Impossible to continue: nvertices <=0!\n");
     735        if(*pdata[1]<=0) _error_("Impossible to continue: nelements <=0!\n");
    736736        if(!pxy) _error_("Impossible to continue: pxy is NULL!\n");
    737737        if(!pelements) _error_("Impossible to continue: pelements is NULL!\n");
Note: See TracChangeset for help on using the changeset viewer.