Changeset 16813
- Timestamp:
- 11/17/13 09:17:18 (11 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 6 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 -
issm/trunk-jpl/src/c/classes/Elements/Element.h
r16812 r16813 61 61 virtual void NodalFunctionsPressure(IssmDouble* basis,Gauss* gauss)=0; 62 62 virtual void NormalBase(IssmDouble* normal,IssmDouble* xyz_list)=0; 63 virtual IssmDouble PureIceEnthalpy(IssmDouble pressure)=0; 63 64 virtual void TransformLoadVectorCoord(ElementVector* pe,int transformenum)=0; 64 65 virtual void TransformLoadVectorCoord(ElementVector* pe,int* transformenum_list)=0; -
issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
r16812 r16813 2640 2640 /*clean-up*/ 2641 2641 delete gauss; 2642 } 2643 /*}}}*/ 2644 /*FUNCTION Penta::PureIceEnthalpy{{{*/ 2645 IssmDouble Penta::PureIceEnthalpy(IssmDouble pressure){ 2646 2647 return this->matpar->PureIceEnthalpy(pressure); 2642 2648 } 2643 2649 /*}}}*/ -
issm/trunk-jpl/src/c/classes/Elements/Penta.h
r16812 r16813 109 109 int NumberofNodesPressure(void); 110 110 int VelocityInterpolation(); 111 IssmDouble PureIceEnthalpy(IssmDouble pressure); 111 112 int PressureInterpolation(); 112 113 -
issm/trunk-jpl/src/c/classes/Elements/Seg.h
r16812 r16813 123 123 Element* SpawnBasalElement(void){_error_("not implemented yet");}; 124 124 IssmDouble StabilizationParameter(IssmDouble u, IssmDouble v, IssmDouble w, IssmDouble diameter, IssmDouble kappa){_error_("not implemented yet");}; 125 IssmDouble PureIceEnthalpy(IssmDouble pressure){_error_("not implemented yet");}; 125 126 int PressureInterpolation(void){_error_("not implemented yet");}; 126 127 int VelocityInterpolation(void){_error_("not implemented yet");}; -
issm/trunk-jpl/src/c/classes/Elements/Tria.h
r16812 r16813 126 126 IssmDouble TMeltingPoint(IssmDouble pressure); 127 127 int VelocityInterpolation(); 128 IssmDouble PureIceEnthalpy(IssmDouble pressure){_error_("not implemented yet");}; 128 129 int PressureInterpolation(); 129 130 IssmDouble SurfaceArea(void);
Note:
See TracChangeset
for help on using the changeset viewer.