Changeset 16604
- Timestamp:
- 11/01/13 15:40:39 (11 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
r16542 r16604 10 10 }/*}}}*/ 11 11 void EnthalpyAnalysis::UpdateParameters(Parameters* parameters,IoModel* iomodel,int solution_enum,int analysis_enum){/*{{{*/ 12 13 int numoutputs; 14 char** requestedoutputs = NULL; 15 16 parameters->AddObject(iomodel->CopyConstantObject(ThermalStabilizationEnum)); 17 parameters->AddObject(iomodel->CopyConstantObject(ThermalIsenthalpyEnum)); 18 parameters->AddObject(iomodel->CopyConstantObject(ThermalIsdynamicbasalspcEnum)); 19 20 iomodel->FetchData(&requestedoutputs,&numoutputs,ThermalRequestedOutputsEnum); 21 parameters->AddObject(new IntParam(ThermalNumRequestedOutputsEnum,numoutputs)); 22 if(numoutputs)parameters->AddObject(new StringArrayParam(ThermalRequestedOutputsEnum,requestedoutputs,numoutputs)); 23 iomodel->DeleteData(&requestedoutputs,numoutputs,ThermalRequestedOutputsEnum); 12 24 }/*}}}*/ 13 25 void EnthalpyAnalysis::UpdateElements(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type){/*{{{*/ -
issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateParameters.cpp
r16601 r16604 51 51 parameters->AddObject(iomodel->CopyConstantObject(TimesteppingTimeStepEnum)); 52 52 parameters->AddObject(iomodel->CopyConstantObject(TimesteppingCflCoefficientEnum)); 53 parameters->AddObject(iomodel->CopyConstantObject(ThermalPenaltyFactorEnum));54 parameters->AddObject(iomodel->CopyConstantObject(ThermalIsenthalpyEnum));55 parameters->AddObject(iomodel->CopyConstantObject(ThermalStabilizationEnum));56 parameters->AddObject(iomodel->CopyConstantObject(ThermalIsdynamicbasalspcEnum));57 53 parameters->AddObject(iomodel->CopyConstantObject(SettingsLowmemEnum)); 58 54 parameters->AddObject(iomodel->CopyConstantObject(DebugProfilingEnum)); … … 138 134 iomodel->DeleteData(&requestedoutputs,numoutputs,SteadystateRequestedOutputsEnum); 139 135 140 iomodel->FetchData(&requestedoutputs,&numoutputs,ThermalRequestedOutputsEnum);141 parameters->AddObject(new IntParam(ThermalNumRequestedOutputsEnum,numoutputs));142 if(numoutputs)parameters->AddObject(new StringArrayParam(ThermalRequestedOutputsEnum,requestedoutputs,numoutputs));143 iomodel->DeleteData(&requestedoutputs,numoutputs,ThermalRequestedOutputsEnum);144 136 /*Deal with mass flux segments: {{{*/ 145 137 iomodel->FetchData(&qmu_mass_flux_present,QmuMassFluxSegmentsPresentEnum);
Note:
See TracChangeset
for help on using the changeset viewer.