Changeset 15556


Ignore:
Timestamp:
07/23/13 11:32:34 (12 years ago)
Author:
seroussi
Message:

FIX: finally found the problem with stokes front

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Penta.cpp

    r15544 r15556  
    82168216        IssmDouble zmax=xyz_list[0][2]; for(int i=1;i<6;i++) if(xyz_list[i][2]>zmax) zmax=xyz_list[i][2];
    82178217        IssmDouble zmin=xyz_list[0][2]; for(int i=1;i<6;i++) if(xyz_list[i][2]<zmin) zmin=xyz_list[i][2];
    8218         if(zmax>0 && zmin<0) gauss=new GaussPenta(area_coordinates,3,10); //refined in vertical because of the sea level discontinuity
     8218        if(zmax>0 && zmin<0) gauss=new GaussPenta(area_coordinates,3,30); //refined in vertical because of the sea level discontinuity
    82198219        else                 gauss=new GaussPenta(area_coordinates,3,3);
    82208220
     
    82348234                        pe->values[4*i+1]+= pressure*Jdet*gauss->weight*normal[1]*basis[i];
    82358235                        pe->values[4*i+2]+= pressure*Jdet*gauss->weight*normal[2]*basis[i];
     8236                        pe->values[4*i+3]+= 0;
    82368237                }
    82378238        }
     
    82398240        /*Transform coordinate system*/
    82408241        TransformLoadVectorCoord(pe,nodes,numnodes,XYZPEnum);
    8241 
    82428242
    82438243        /*Clean up and return*/
Note: See TracChangeset for help on using the changeset viewer.