Changeset 10526
- Timestamp:
- 11/08/11 11:37:26 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r10524 r10526 5547 5547 5548 5548 /*Constants*/ 5549 const int numdofp=NDOF2*NUMVERTICES;5550 const int numdofs=NDOF4*NUMVERTICES;5551 const int numdoftotal=(NDOF2+NDOF4)*NUMVERTICES;5552 int 5549 const int numdofp = NDOF2 *NUMVERTICES; 5550 const int numdofs = NDOF4 *NUMVERTICES; 5551 const int numdoftotal = (NDOF2+NDOF4) *NUMVERTICES; 5552 int i,j; 5553 5553 5554 5554 for(i=0;i<numdofs;i++) for(j=0;j<NUMVERTICES;j++){ … … 6469 6469 } 6470 6470 6471 /*Transform coordinate system*/ 6472 TransformLoadVectorCoord(pe,nodes,NUMVERTICES,XYZPEnum); 6473 6471 6474 /*Clean up and return*/ 6472 6475 delete gauss; … … 6539 6542 } 6540 6543 } 6544 6545 /*Transform coordinate system*/ 6546 TransformLoadVectorCoord(pe,nodes,NUMVERTICES,XYZPEnum); 6541 6547 6542 6548 /*Clean up and return*/ … … 7632 7638 for(i=0;i<numdofs;i++) stokes_values[i]=solution[doflists[i]]; 7633 7639 7640 /*Transform solution in Cartesian Space*/ 7641 TransformSolutionCoord(&pattyn_values[0],this->nodes,NUMVERTICES,XYEnum); 7642 TransformSolutionCoord(&stokes_values[0],this->nodes,NUMVERTICES,XYZPEnum); 7643 7634 7644 /*Ok, we have vx and vy in values, fill in vx and vy arrays: */ 7635 7645 for(i=0;i<NUMVERTICES;i++){
Note:
See TracChangeset
for help on using the changeset viewer.