Changeset 16813 for issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
- Timestamp:
- 11/17/13 09:17:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
r16812 r16813 293 293 ElementVector* EnthalpyAnalysis::CreatePVectorShelf(Element* element){/*{{{*/ 294 294 295 IssmDouble t_pmp,dt,Jdet,scalar_ocean,pressure;295 IssmDouble h_pmp,dt,Jdet,scalar_ocean,pressure; 296 296 IssmDouble *xyz_list_base = NULL; 297 297 … … 326 326 327 327 pressure_input->GetInputValue(&pressure,gauss); 328 t_pmp=element->TMeltingPoint(pressure);329 330 scalar_ocean=gauss->weight*Jdet*rho_water*mixed_layer_capacity*thermal_exchange_vel* (t_pmp)/(heatcapacity*rho_ice);328 h_pmp=element->PureIceEnthalpy(pressure); 329 330 scalar_ocean=gauss->weight*Jdet*rho_water*mixed_layer_capacity*thermal_exchange_vel*h_pmp/(heatcapacity*rho_ice); 331 331 if(reCast<bool,IssmDouble>(dt)) scalar_ocean=dt*scalar_ocean; 332 332
Note:
See TracChangeset
for help on using the changeset viewer.