Changeset 17341
- Timestamp:
- 02/21/14 19:38:41 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp
r17337 r17341 1180 1180 /*Fetch number of nodes and dof for this finite element*/ 1181 1181 int numnodes = element->GetNumberOfNodes(); 1182 int numdof = numnodes* 2;1182 int numdof = numnodes*dim; 1183 1183 1184 1184 /*Initialize Element matrix and vectors*/ … … 1197 1197 1198 1198 /*build friction object, used later on: */ 1199 Friction* friction=new Friction(element, 2);1199 Friction* friction=new Friction(element,1); 1200 1200 1201 1201 /*Recover portion of element that is grounded*/ … … 1232 1232 1233 1233 /*Transform Coordinate System*/ 1234 element->TransformStiffnessMatrixCoord(Ke,XYEnum);1234 if(dim==2) element->TransformStiffnessMatrixCoord(Ke,XYEnum); 1235 1235 1236 1236 /*Clean up and return*/
Note:
See TracChangeset
for help on using the changeset viewer.