Ignore:
Timestamp:
07/26/12 10:08:15 (13 years ago)
Author:
lemorzad
Message:

addind delta18o temperature and precipitation methode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/solutions/transient_core.cpp

    r12635 r12748  
    2424        /*parameters: */
    2525        IssmDouble starttime,finaltime,dt,yts;
    26         bool   isdiagnostic,isprognostic,isthermal,isgroundingline,isenthalpy;
     26        bool   isdiagnostic,isprognostic,isthermal,isgroundingline,isenthalpy,ispdd,isdelta18o;
    2727        bool   save_results,dakota_analysis;
    2828        bool   time_adapt=false;
     
    5353        femmodel->parameters->FindParam(&numoutputs,TransientNumRequestedOutputsEnum);
    5454        if(numoutputs) femmodel->parameters->FindParam(&requested_outputs,&numoutputs,TransientRequestedOutputsEnum);
     55        femmodel->parameters->FindParam(&ispdd,SurfaceforcingsIspddEnum);
     56        femmodel->parameters->FindParam(&isdelta18o,SurfaceforcingsIsdelta18oEnum);
    5557
    5658        /*initialize: */
     
    106108                        #endif
    107109                }
     110               
     111                if(ispdd){
     112                        if(isdelta18o){
     113                                if(VerboseSolution()) _pprintLine_("   call Delta18oParametrization module");
     114                                Delta18oParameterizationx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters);
     115                        }
     116                        if(VerboseSolution()) _pprintLine_("   call positive degree day module");
     117                        PositiveDegreeDayx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters);
     118                }
    108119
    109120                if(isdiagnostic){
Note: See TracChangeset for help on using the changeset viewer.