Changeset 24980
- Timestamp:
- 06/07/20 23:55:19 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/classes/Elements/Tria.cpp ¶
r24976 r24980 117 117 118 118 tria->hvertices = (Hook*)this->hvertices->copy(); 119 tria->hmaterial = (Hook*)this->hmaterial->copy();119 if(this->hmaterial)tria->hmaterial = (Hook*)this->hmaterial->copy(); 120 120 tria->hneighbors = NULL; 121 121 … … 139 139 140 140 tria->vertices = (Vertex**)this->hvertices->deliverp(); 141 tria->material = (Material*)this->hmaterial->delivers();141 if(this->hmaterial)tria->material = (Material*)this->hmaterial->delivers(); 142 142 143 143 return tria; … … 3943 3943 for(int i=0;i<this->numanalyses;i++) if(this->hnodes[i]) this->hnodes[i]->reset(); 3944 3944 this->hvertices->reset(); 3945 this->hmaterial->reset();3945 if(this->hmaterial)this->hmaterial->reset(); 3946 3946 if(this->hneighbors) this->hneighbors->reset(); 3947 3947
Note:
See TracChangeset
for help on using the changeset viewer.