Changeset 12884 for issm/trunk-jpl/src/c/solutions/transient_core.cpp
- Timestamp:
- 08/03/12 09:59:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/solutions/transient_core.cpp
r12871 r12884 24 24 /*parameters: */ 25 25 IssmDouble starttime,finaltime,dt,yts; 26 bool isdiagnostic,isprognostic,isthermal,isgroundingline,isenthalpy ;26 bool isdiagnostic,isprognostic,isthermal,isgroundingline,isenthalpy,isdelta18o; 27 27 bool save_results,dakota_analysis; 28 28 bool time_adapt=false; … … 53 53 femmodel->parameters->FindParam(&numoutputs,TransientNumRequestedOutputsEnum); 54 54 if(numoutputs) femmodel->parameters->FindParam(&requested_outputs,&numoutputs,TransientRequestedOutputsEnum); 55 femmodel->parameters->FindParam(&isdelta18o,SurfaceforcingsIsdelta18oEnum); 55 56 56 57 /*initialize: */ … … 141 142 RequestedOutputsx(femmodel->results,femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,requested_outputs,numoutputs); 142 143 144 if(isdelta18o){ 145 InputToResultx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,SurfaceforcingsMonthlytemperaturesEnum); 146 InputToResultx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,SurfaceforcingsPrecipitationEnum); 147 } 148 143 149 if(VerboseSolution()) _pprintLine_(" saving temporary results"); 144 150 OutputResultsx(femmodel->elements, femmodel->nodes, femmodel->vertices, femmodel->loads, femmodel->materials, femmodel->parameters,femmodel->results);
Note:
See TracChangeset
for help on using the changeset viewer.