Changeset 3864


Ignore:
Timestamp:
05/20/10 09:06:03 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor

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

Legend:

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

    r3858 r3864  
    17191719
    17201720        /*parameters: */
    1721         double dt,artdiff,epsvel;
     1721        double dt,epsvel;
     1722        bool   artdiff;
    17221723
    17231724        /*Collapsed formulation: */
  • issm/trunk/src/c/objects/Elements/Tria.cpp

    r3862 r3864  
    807807
    808808        /*parameters: */
    809         double artdiff;
     809        bool artdiff;
    810810
    811811        /* Get node coordinates and dof list: */
     
    10561056
    10571057        /*parameters: */
    1058         double artdiff;
     1058        bool artdiff;
    10591059
    10601060        /*retrieve some parameters: */
     
    16791679        /*parameters: */
    16801680        double dt;
    1681         double artdiff;
     1681        bool artdiff;
    16821682
    16831683        /*retrieve some parameters: */
     
    16901690
    16911691        //Create Artificial diffusivity once for all if requested
    1692         if(artdiff==1){
     1692        if(artdiff){
    16931693                //Get the Jacobian determinant
    16941694                gauss_l1l2l3[0]=ONETHIRD; gauss_l1l2l3[1]=ONETHIRD; gauss_l1l2l3[2]=ONETHIRD;
     
    17701770                for( i=0; i<numdof; i++) for(j=0;j<numdof;j++) Ke_gg[i][j]+=Ke_gg_thickness2[i][j];
    17711771
    1772                 if(artdiff==1){
     1772                if(artdiff){
    17731773
    17741774                        /* Compute artificial diffusivity */
Note: See TracChangeset for help on using the changeset viewer.