Changeset 17045
- Timestamp:
- 12/23/13 06:44:06 (11 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
r17029 r17045 774 774 element->EnthalpyToThermal(&temperature[i],&waterfraction[i],values[i],pressure[i]); 775 775 if(waterfraction[i]<0.) _error_("Negative water fraction found in solution vector"); 776 if(waterfraction[i]>1.) _error_("Water fraction >1 found in solution vector");776 //if(waterfraction[i]>1.) _error_("Water fraction >1 found in solution vector"); 777 777 } 778 778 element->AddInput(EnthalpyEnum,values,P1Enum); … … 948 948 949 949 /******** DRAINAGE *****************************************/ 950 IssmDouble* drainrate_column = xNew<IssmDouble>(numsegments); //TODO: xDelete?950 IssmDouble* drainrate_column = xNew<IssmDouble>(numsegments); 951 951 IssmDouble* drainrate_element = xNew<IssmDouble>(numsegments); 952 952 for(is=0;is<numsegments;is++) drainrate_column[is]=0.; … … 1116 1116 setspc=((enthalpyup<PureIceEnthalpy(element,pressureup)) && (watercolumn>=0.))?true:false; 1117 1117 } 1118 else if(watercolumn>0.) // case H<Hpmp && watercolumn>0.1119 setspc=true;1120 1118 else 1121 1119 setspc = false; 1120 1121 1122 1122 1123 1123 node=element->GetNode(indices[i]); -
issm/trunk-jpl/src/c/cores/thermal_core.cpp
r17027 r17045 48 48 InputDuplicatex(femmodel,EnthalpyEnum,EnthalpyPicardEnum); 49 49 50 /*Post process*/ 51 enthalpy_analysis = new EnthalpyAnalysis(); 52 enthalpy_analysis->PostProcessing(femmodel); 53 delete enthalpy_analysis; 50 if(solution_type!=SteadystateSolutionEnum){ 51 /*Post process*/ 52 enthalpy_analysis = new EnthalpyAnalysis(); 53 enthalpy_analysis->PostProcessing(femmodel); 54 delete enthalpy_analysis; 55 } 54 56 } 55 57 else{
Note:
See TracChangeset
for help on using the changeset viewer.