Ignore:
Timestamp:
07/22/13 14:03:58 (12 years ago)
Author:
seroussi
Message:

NEW: added front in element for Pattyn and Stokes

File:
1 edited

Legend:

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

    r15535 r15538  
    31653165        }
    31663166
    3167         return NULL;
    31683167        /*If no front, return NULL*/
    31693168        if(!isfront) return NULL;
     
    32003199                thickness_input->GetInputValue(&thickness,gauss);
    32013200                bed_input->GetInputValue(&bed,gauss);
     3201                GetSegmentJacobianDeterminant(&Jdet,&xyz_list_front[0][0],gauss);
     3202                GetNodalFunctions(basis,gauss);
    32023203
    32033204                surface_under_water=min(0.,thickness+bed); // 0 if the top of the glacier is above water level
     
    32063207                ice_pressure=1.0/2.0*gravity*rho_ice*pow(thickness,2);
    32073208                air_pressure=0;
    3208 
    32093209                pressure = ice_pressure + water_pressure + air_pressure;
    3210 
    3211                 GetSegmentJacobianDeterminant(&Jdet,&xyz_list_front[0][0],gauss);
    3212                 GetNodalFunctions(basis,gauss);
    32133210
    32143211                for (int i=0;i<numnodes;i++){
Note: See TracChangeset for help on using the changeset viewer.