Changeset 10391
- Timestamp:
- 10/31/11 16:47:26 (13 years ago)
- Location:
- issm/trunk/src/c/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r10381 r10391 5880 5880 ReduceMatrixStokes(Ke->values, &Ke_temp[0][0]); 5881 5881 5882 /*Transform Coordinate System*/ 5883 TransformStiffnessMatrixCoord(Ke,4); 5884 5882 5885 /*Clean up and return*/ 5883 5886 delete gauss; … … 5963 5966 for(i=0;i<numdof2d;i++) for(j=0;j<numdof2d;j++) Ke->values[i*numdof+j]+=Ke_drag_gaussian[i][j]; 5964 5967 } 5968 5969 5970 /*Transform Coordinate System*/ 5971 TransformStiffnessMatrixCoord(Ke,4); 5965 5972 5966 5973 /*Clean up and return*/ … … 6678 6685 ReduceVectorStokes(pe->values, &Ke_temp[0][0], &Pe_gaussian[0]); 6679 6686 6687 /*Transform coordinate system*/ 6688 TransformLoadVectorCoord(pe,4); 6689 6680 6690 /*Clean up and return*/ 6681 6691 delete gauss; … … 6742 6752 for(i=0;i<NUMVERTICES;i++) for(j=0;j<3;j++) pe->values[i*NDOF4+j]+=(water_pressure+damper)*gauss->weight*Jdet2d*basis[i]*bed_normal[j]; 6743 6753 } 6754 6755 /*Transform coordinate system*/ 6756 TransformLoadVectorCoord(pe,4); 6744 6757 6745 6758 /*Clean up and return*/ … … 7672 7685 int i; 7673 7686 double values[numdof]; 7687 double values0[numdof]; 7674 7688 double vx[NUMVERTICES]; 7675 7689 double vy[NUMVERTICES]; … … 7684 7698 7685 7699 /*Use the dof list to index into the solution vector: */ 7686 for(i=0;i<numdof;i++) values[i]=solution[doflist[i]]; 7700 for(i=0;i<numdof;i++) values0[i]=solution[doflist[i]]; 7701 7702 /*Transform solution in Cartesian Space*/ 7703 TransformSolutionCoord(&values[0],&values0[0],NDOF4); 7687 7704 7688 7705 /*Ok, we have vx and vy in values, fill in all arrays: */ -
issm/trunk/src/c/objects/Loads/Icefront.cpp
r10381 r10391 747 747 748 748 /*Transform load vector*/ 749 TransformLoadVectorCoord(pe,NUMVERTICESQUA, 3);749 TransformLoadVectorCoord(pe,NUMVERTICESQUA,4); 750 750 751 751 /*Clean up and return*/
Note:
See TracChangeset
for help on using the changeset viewer.