Changeset 5822
- Timestamp:
- 09/15/10 10:34:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Tria.cpp
r5821 r5822 2893 2893 void Tria::CreateKMatrixDiagnosticMacAyealFriction(Mat Kgg,Mat Kff, Mat Kfs){ 2894 2894 2895 const int numdof = 2 *NUMVERTICES;2896 2895 double *Ke_gg_friction = NULL; 2897 2896 ElementMatrix *Ke = NULL; … … 2901 2900 2902 2901 if(Ke_gg_friction){ 2903 2904 /*Initialize element matrix: */2905 2902 Ke=this->NewElementMatrix(MacAyealApproximationEnum); 2906 2907 /*Add Ke_gg values to Ke element stifness matrix: */2908 2903 Ke->AddValues(Ke_gg_friction); 2909 2910 /*Add Ke element stiffness matrix to global stiffness matrix: */2911 2904 Ke->AddToGlobal(Kgg,Kff,Kfs); 2912 2913 /*Free ressources:*/2914 2905 delete Ke; 2915 2906 }
Note:
See TracChangeset
for help on using the changeset viewer.