Ignore:
Timestamp:
06/20/12 09:19:54 (13 years ago)
Author:
utke
Message:

type renames

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/Loads/Numericalflux.cpp

    r12365 r12472  
    6060
    6161        /*First, see wether this is an internal or boundary edge (if e2=NaN)*/
    62         if (isnan((double)iomodel->Data(MeshEdgesEnum)[4*i+3])){ //edges are [node1 node2 elem1 elem2]
     62        if (isnan((IssmDouble)iomodel->Data(MeshEdgesEnum)[4*i+3])){ //edges are [node1 node2 elem1 elem2]
    6363                /* Boundary edge, only one element */
    6464                e1=(int)iomodel->Data(MeshEdgesEnum)[4*i+2];
     
    312312/*}}}*/
    313313/*FUNCTION Numericalflux::PenaltyCreateKMatrix {{{*/
    314 void  Numericalflux::PenaltyCreateKMatrix(Matrix* Kff, Matrix* Kfs,double kmax){
     314void  Numericalflux::PenaltyCreateKMatrix(Matrix* Kff, Matrix* Kfs,IssmDouble kmax){
    315315
    316316        /*No stiffness loads applied, do nothing: */
     
    320320/*}}}*/
    321321/*FUNCTION Numericalflux::PenaltyCreatePVector{{{*/
    322 void  Numericalflux::PenaltyCreatePVector(Vector* pf,double kmax){
     322void  Numericalflux::PenaltyCreatePVector(Vector* pf,IssmDouble kmax){
    323323
    324324        /*No penalty loads applied, do nothing: */
     
    359359        /* Intermediaries*/
    360360        int        i,j,ig,index1,index2;
    361         double     DL1,DL2,Jdet,dt,vx,vy,UdotN;
    362         double     xyz_list[NUMVERTICES_INTERNAL][3];
    363         double     normal[2];
    364         double     B[numdof];
    365         double     Bprime[numdof];
    366         double     Ke_g1[numdof][numdof];
    367         double     Ke_g2[numdof][numdof];
     361        IssmDouble     DL1,DL2,Jdet,dt,vx,vy,UdotN;
     362        IssmDouble     xyz_list[NUMVERTICES_INTERNAL][3];
     363        IssmDouble     normal[2];
     364        IssmDouble     B[numdof];
     365        IssmDouble     Bprime[numdof];
     366        IssmDouble     Ke_g1[numdof][numdof];
     367        IssmDouble     Ke_g2[numdof][numdof];
    368368        GaussTria *gauss;
    369369
     
    424424        /* Intermediaries*/
    425425        int        i,j,ig,index1,index2;
    426         double     DL,Jdet,dt,vx,vy,mean_vx,mean_vy,UdotN;
    427         double     xyz_list[NUMVERTICES_BOUNDARY][3];
    428         double     normal[2];
    429         double     L[numdof];
    430         double     Ke_g[numdof][numdof];
     426        IssmDouble     DL,Jdet,dt,vx,vy,mean_vx,mean_vy,UdotN;
     427        IssmDouble     xyz_list[NUMVERTICES_BOUNDARY][3];
     428        IssmDouble     normal[2];
     429        IssmDouble     L[numdof];
     430        IssmDouble     Ke_g[numdof][numdof];
    431431        GaussTria *gauss;
    432432
     
    512512        /* Intermediaries*/
    513513        int        i,j,ig,index1,index2;
    514         double     DL1,DL2,Jdet,vx,vy,UdotN;
    515         double     xyz_list[NUMVERTICES_INTERNAL][3];
    516         double     normal[2];
    517         double     B[numdof];
    518         double     Bprime[numdof];
    519         double     Ke_g1[numdof][numdof];
    520         double     Ke_g2[numdof][numdof];
     514        IssmDouble     DL1,DL2,Jdet,vx,vy,UdotN;
     515        IssmDouble     xyz_list[NUMVERTICES_INTERNAL][3];
     516        IssmDouble     normal[2];
     517        IssmDouble     B[numdof];
     518        IssmDouble     Bprime[numdof];
     519        IssmDouble     Ke_g1[numdof][numdof];
     520        IssmDouble     Ke_g2[numdof][numdof];
    521521        GaussTria *gauss;
    522522
     
    576576        /* Intermediaries*/
    577577        int        i,j,ig,index1,index2;
    578         double     DL,Jdet,vx,vy,mean_vx,mean_vy,UdotN;
    579         double     xyz_list[NUMVERTICES_BOUNDARY][3];
    580         double     normal[2];
    581         double     L[numdof];
    582         double     Ke_g[numdof][numdof];
     578        IssmDouble     DL,Jdet,vx,vy,mean_vx,mean_vy,UdotN;
     579        IssmDouble     xyz_list[NUMVERTICES_BOUNDARY][3];
     580        IssmDouble     normal[2];
     581        IssmDouble     L[numdof];
     582        IssmDouble     Ke_g[numdof][numdof];
    583583        GaussTria *gauss;
    584584
     
    703703        /* Intermediaries*/
    704704        int        i,j,ig,index1,index2;
    705         double     DL,Jdet,dt,vx,vy,mean_vx,mean_vy,UdotN,thickness;
    706         double     xyz_list[NUMVERTICES_BOUNDARY][3];
    707         double     normal[2];
    708         double     L[numdof];
     705        IssmDouble     DL,Jdet,dt,vx,vy,mean_vx,mean_vy,UdotN,thickness;
     706        IssmDouble     xyz_list[NUMVERTICES_BOUNDARY][3];
     707        IssmDouble     normal[2];
     708        IssmDouble     L[numdof];
    709709        GaussTria *gauss;
    710710
     
    797797        /* Intermediaries*/
    798798        int        i,j,ig,index1,index2;
    799         double     DL,Jdet,vx,vy,mean_vx,mean_vy,UdotN,thickness;
    800         double     xyz_list[NUMVERTICES_BOUNDARY][3];
    801         double     normal[2];
    802         double     L[numdof];
     799        IssmDouble     DL,Jdet,vx,vy,mean_vx,mean_vy,UdotN,thickness;
     800        IssmDouble     xyz_list[NUMVERTICES_BOUNDARY][3];
     801        IssmDouble     normal[2];
     802        IssmDouble     L[numdof];
    803803        GaussTria *gauss;
    804804
     
    864864/*}}}*/
    865865/*FUNCTION Numericalflux::GetNormal {{{*/
    866 void Numericalflux:: GetNormal(double* normal,double xyz_list[4][3]){
     866void Numericalflux:: GetNormal(IssmDouble* normal,IssmDouble xyz_list[4][3]){
    867867
    868868        /*Build unit outward pointing vector*/
    869         double vector[2];
    870         double norm;
     869        IssmDouble vector[2];
     870        IssmDouble norm;
    871871
    872872        vector[0]=xyz_list[1][0] - xyz_list[0][0];
Note: See TracChangeset for help on using the changeset viewer.