Changeset 24491
- Timestamp:
- 12/20/19 15:48:18 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/AdaptiveMeshRefinement.cpp
r23501 r24491 612 612 613 613 /*Generate the elements*/ 614 longindex;614 int64_t index; 615 615 const int mat = this->GetElemMaterialID(); 616 TPZManVector< long> elem(this->GetNumberOfNodes(),0);616 TPZManVector<int64_t> elem(this->GetNumberOfNodes(),0); 617 617 this->index2sid.clear(); this->index2sid.resize(this->numberofelements); 618 618 this->sid2index.clear(); … … 646 646 int mat = this->GetElemMaterialID();; 647 647 int reftype = 1; 648 longindex;648 int64_t index; 649 649 650 650 //nodes … … 662 662 } 663 663 664 TPZManVector< long> elem(3,0);664 TPZManVector<int64_t> elem(3,0); 665 665 for(int j=0;j<3;j++) elem[j] = geoel->NodeIndex(j); 666 666 … … 732 732 /*Basic verification*/ 733 733 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"); 736 736 if(!pxy) _error_("Impossible to continue: pxy is NULL!\n"); 737 737 if(!pelements) _error_("Impossible to continue: pelements is NULL!\n");
Note:
See TracChangeset
for help on using the changeset viewer.