Changeset 7373
- Timestamp:
- 02/07/11 11:00:10 (14 years ago)
- Location:
- issm/trunk/src/c/objects/Elements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r7370 r7373 640 640 ElementMatrix* Ke=new ElementMatrix(Ke1,Ke2); 641 641 642 /*clean-up and return*/ 643 delete Ke1; 644 delete Ke2; 642 645 return Ke; 643 646 } … … 783 786 784 787 /*Initialize Element matrix and return if necessary*/ 785 if(IsOnWater()) return NULL;786 787 788 ElementMatrix* Ke1=new ElementMatrix(pentabase->nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum); 788 789 ElementMatrix* Ke2=new ElementMatrix(this->nodes ,NUMVERTICES,this->parameters,StokesApproximationEnum); … … 1243 1244 /*FUNCTION Penta::CreateKMatrixDiagnosticPattyn{{{1*/ 1244 1245 ElementMatrix* Penta::CreateKMatrixDiagnosticPattyn(void){ 1245 1246 1246 1247 1247 /*compute all stiffness matrices for this element*/ … … 1253 1253 delete Ke1; 1254 1254 delete Ke2; 1255 1256 1255 return Ke; 1257 1256 … … 1520 1519 ElementMatrix* Penta::CreateKMatrixDiagnosticVert(void){ 1521 1520 1522 1523 1521 /*compute all stiffness matrices for this element*/ 1524 1522 ElementMatrix* Ke1=CreateKMatrixDiagnosticVertVolume(); -
issm/trunk/src/c/objects/Elements/Tria.cpp
r7370 r7373 758 758 ElementMatrix* Tria::CreateKMatrixDiagnosticMacAyeal(void){ 759 759 760 761 760 /*compute all stiffness matrices for this element*/ 762 761 ElementMatrix* Ke1=CreateKMatrixDiagnosticMacAyealViscous(); … … 768 767 delete Ke2; 769 768 return Ke; 770 771 769 } 772 770 /*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.