Changeset 5874
- Timestamp:
- 09/17/10 16:56:31 (15 years ago)
- Location:
- issm/trunk/src/c/objects/Elements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r5873 r5874 2198 2198 delete Ke; 2199 2199 break; 2200 2201 2200 case PattynStokesApproximationEnum: 2202 Ke=CreateKMatrixDiagnosticPattyn(); 2203 if(Ke) Ke->AddToGlobal(Kgg,NULL,NULL); 2204 delete Ke; 2205 Ke=CreateKMatrixDiagnosticStokes(); 2206 if(Ke) Ke->AddToGlobal(Kgg,NULL,NULL); 2207 delete Ke; 2208 Ke=CreateKMatrixCouplingPattynStokes(); 2201 Ke=CreateKMatrixDiagnosticPattynStokes(); 2209 2202 if(Ke) Ke->AddToGlobal(Kgg,NULL,NULL); 2210 2203 delete Ke; … … 2538 2531 } 2539 2532 /*}}}*/ 2533 /*FUNCTION Penta::CreateKMatrixDiagnosticPattynStokes{{{1*/ 2534 ElementMatrix* Penta::CreateKMatrixDiagnosticPattynStokes(void){ 2535 2536 /*compute all stiffness matrices for this element*/ 2537 ElementMatrix* Ke1=CreateKMatrixDiagnosticPattyn(); 2538 ElementMatrix* Ke2=CreateKMatrixDiagnosticStokes(); 2539 ElementMatrix* Ke3=CreateKMatrixCouplingPattynStokes(); 2540 ElementMatrix* Ke =new ElementMatrix(Ke1,Ke2,Ke3); 2541 2542 /*clean-up and return*/ 2543 delete Ke1; 2544 delete Ke2; 2545 delete Ke3; 2546 return Ke; 2547 } 2548 /*}}}*/ 2540 2549 /*FUNCTION Penta::CreateKMatrixDiagnosticStokes{{{1*/ 2541 2550 ElementMatrix* Penta::CreateKMatrixDiagnosticStokes(void){ -
issm/trunk/src/c/objects/Elements/Penta.h
r5873 r5874 137 137 ElementMatrix* CreateKMatrixDiagnosticPattynViscous(void); 138 138 ElementMatrix* CreateKMatrixDiagnosticPattynFriction(void); 139 ElementMatrix* CreateKMatrixDiagnosticPattynStokes(void); 139 140 ElementMatrix* CreateKMatrixDiagnosticStokes(void); 140 141 ElementMatrix* CreateKMatrixDiagnosticStokesViscous(void);
Note:
See TracChangeset
for help on using the changeset viewer.