Changeset 7242
- Timestamp:
- 01/29/11 22:40:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Tria.cpp
r7110 r7242 695 695 /*FUNCTION Tria::CreateKMatrixDiagnosticMacAyeal {{{1*/ 696 696 ElementMatrix* Tria::CreateKMatrixDiagnosticMacAyeal(void){ 697 697 698 ElementMatrix* Ke=NULL; 699 698 700 /*compute all stiffness matrices for this element*/ 699 701 ElementMatrix* Ke1=CreateKMatrixDiagnosticMacAyealViscous(); 700 702 ElementMatrix* Ke2=CreateKMatrixDiagnosticMacAyealFriction(); 701 ElementMatrix* Ke =new ElementMatrix(Ke1,Ke2); 702 703 /*clean-up and return*/ 704 delete Ke1; 705 delete Ke2; 703 704 if(Ke1 || Ke2){ 705 Ke=new ElementMatrix(Ke1,Ke2); 706 707 /*clean-up and return*/ 708 delete Ke1; 709 delete Ke2; 710 } 706 711 return Ke; 707 712
Note:
See TracChangeset
for help on using the changeset viewer.