Changeset 15538 for issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
- Timestamp:
- 07/22/13 14:03:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r15535 r15538 3165 3165 } 3166 3166 3167 return NULL;3168 3167 /*If no front, return NULL*/ 3169 3168 if(!isfront) return NULL; … … 3200 3199 thickness_input->GetInputValue(&thickness,gauss); 3201 3200 bed_input->GetInputValue(&bed,gauss); 3201 GetSegmentJacobianDeterminant(&Jdet,&xyz_list_front[0][0],gauss); 3202 GetNodalFunctions(basis,gauss); 3202 3203 3203 3204 surface_under_water=min(0.,thickness+bed); // 0 if the top of the glacier is above water level … … 3206 3207 ice_pressure=1.0/2.0*gravity*rho_ice*pow(thickness,2); 3207 3208 air_pressure=0; 3208 3209 3209 pressure = ice_pressure + water_pressure + air_pressure; 3210 3211 GetSegmentJacobianDeterminant(&Jdet,&xyz_list_front[0][0],gauss);3212 GetNodalFunctions(basis,gauss);3213 3210 3214 3211 for (int i=0;i<numnodes;i++){
Note:
See TracChangeset
for help on using the changeset viewer.