Changeset 16470 for issm/trunk-jpl/src/c/analyses/transient_core.cpp
- Timestamp:
- 10/20/13 20:31:07 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/transient_core.cpp
r16363 r16470 22 22 int i; 23 23 IssmDouble starttime,finaltime,dt,yts; 24 bool isstressbalance,ismasstransport,isFS,isthermal,isgroundingline,is enthalpy,isdelta18o,isgia;24 bool isstressbalance,ismasstransport,isFS,isthermal,isgroundingline,isdelta18o,isgia; 25 25 bool save_results,dakota_analysis; 26 26 bool time_adapt=false; … … 49 49 femmodel->parameters->FindParam(&isgia,TransientIsgiaEnum); 50 50 femmodel->parameters->FindParam(&isgroundingline,TransientIsgroundinglineEnum); 51 femmodel->parameters->FindParam(&isenthalpy,ThermalIsenthalpyEnum);52 51 femmodel->parameters->FindParam(&isFS,FlowequationIsFSEnum); 53 52 if(isgroundingline) femmodel->parameters->FindParam(&groundingline_migration,GroundinglineMigrationEnum); … … 116 115 if(VerboseSolution()) _printf0_(" computing temperatures\n"); 117 116 #ifdef _HAVE_THERMAL_ 118 if(isenthalpy==0){ 119 thermal_core(femmodel); 120 } 121 else{ 122 enthalpy_core(femmodel); 123 PostprocessingEnthalpyx(femmodel); 124 } 117 thermal_core(femmodel); 125 118 #else 126 119 _error_("ISSM was not compiled with thermal capabilities. Exiting"); … … 152 145 #endif 153 146 if(save_results){ 154 InputToResultx(femmodel,SurfaceEnum); 155 InputToResultx(femmodel,BedEnum); 156 InputToResultx(femmodel,MaskGroundediceLevelsetEnum); 147 const char* outputs [] = {"Surface","Bed","MaskGroundediceLevelset"}; 148 femmodel->RequestedOutputsx(&femmodel->results,(char**)&outputs[0],3); 157 149 } 158 150 }
Note:
See TracChangeset
for help on using the changeset viewer.