Changeset 15496 for issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
- Timestamp:
- 07/16/13 08:40:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r15486 r15496 122 122 123 123 /*Intermediaries*/ 124 const int numnodes = this-> GetNumberOfNodes();124 const int numnodes = this->NumberOfNodes(); 125 125 126 126 /*Output */ … … 896 896 _assert_(sidlist); 897 897 _assert_(nodes); 898 int numnodes = this-> GetNumberOfNodes();898 int numnodes = this->NumberOfNodes(); 899 899 900 900 for(int i=0;i<numnodes;i++){ 901 901 sidlist[i]=nodes[i]->Sid(); 902 }903 }904 /*}}}*/905 /*FUNCTION Tria::GetNumberOfNodes{{{*/906 int Tria::GetNumberOfNodes(void){907 908 if(this->nodes==NULL) return 0;909 910 switch(this->element_type){911 case P1Enum:912 return 3;913 case P1DGEnum:914 return 3;915 case P2Enum:916 return 6;917 default:918 _error_("Element type "<<EnumToStringx(this->element_type)<<" not supported yet");919 902 } 920 903 } … … 5216 5199 5217 5200 /*Constants*/ 5218 const int numnodes = this-> GetNumberOfNodes();5201 const int numnodes = this->NumberOfNodes(); 5219 5202 const int numdof = NDOF2*numnodes; 5220 5203
Note:
See TracChangeset
for help on using the changeset viewer.