Changeset 10391


Ignore:
Timestamp:
10/31/11 16:47:26 (13 years ago)
Author:
Mathieu Morlighem
Message:

Added transformation coordinate for FS

Location:
issm/trunk/src/c/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Elements/Penta.cpp

    r10381 r10391  
    58805880        ReduceMatrixStokes(Ke->values, &Ke_temp[0][0]);
    58815881
     5882        /*Transform Coordinate System*/
     5883        TransformStiffnessMatrixCoord(Ke,4);
     5884
    58825885        /*Clean up and return*/
    58835886        delete gauss;
     
    59635966                for(i=0;i<numdof2d;i++) for(j=0;j<numdof2d;j++) Ke->values[i*numdof+j]+=Ke_drag_gaussian[i][j];
    59645967        }
     5968
     5969
     5970        /*Transform Coordinate System*/
     5971        TransformStiffnessMatrixCoord(Ke,4);
    59655972
    59665973        /*Clean up and return*/
     
    66786685        ReduceVectorStokes(pe->values, &Ke_temp[0][0], &Pe_gaussian[0]);
    66796686
     6687        /*Transform coordinate system*/
     6688        TransformLoadVectorCoord(pe,4);
     6689
    66806690        /*Clean up and return*/
    66816691        delete gauss;
     
    67426752                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];
    67436753        }
     6754
     6755        /*Transform coordinate system*/
     6756        TransformLoadVectorCoord(pe,4);
    67446757
    67456758        /*Clean up and return*/
     
    76727685        int     i;
    76737686        double  values[numdof];
     7687        double  values0[numdof];
    76747688        double  vx[NUMVERTICES];
    76757689        double  vy[NUMVERTICES];
     
    76847698
    76857699        /*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);
    76877704
    76887705        /*Ok, we have vx and vy in values, fill in all arrays: */
  • issm/trunk/src/c/objects/Loads/Icefront.cpp

    r10381 r10391  
    747747
    748748        /*Transform load vector*/
    749         TransformLoadVectorCoord(pe,NUMVERTICESQUA,3);
     749        TransformLoadVectorCoord(pe,NUMVERTICESQUA,4);
    750750
    751751        /*Clean up and return*/
Note: See TracChangeset for help on using the changeset viewer.