Changeset 22863


Ignore:
Timestamp:
06/21/18 16:34:55 (7 years ago)
Author:
schlegel
Message:

CHG: grab the reconstructed climate Enums for the temp and precip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Element.cpp

    r22862 r22863  
    570570
    571571        if(!isTemperatureScaled){
    572                 input3=this->inputs->GetInput(SmbTemperaturesPresentdayEnum);           _assert_(input3);
     572                input3=this->inputs->GetInput(SmbTemperaturesReconstructedEnum);           _assert_(input3);
    573573                offset=dynamic_cast<TransientInput*>(input3)->GetTimeInputOffset(time_yr);
    574574                if (fmod(offset,12.)!=1){
     
    577577        }
    578578        if(!isPrecipScaled){
    579                 input4=this->inputs->GetInput(SmbPrecipitationsPresentdayEnum);         _assert_(input4);
     579                input4=this->inputs->GetInput(SmbPrecipitationsReconstructedEnum);         _assert_(input4);
    580580                offset=dynamic_cast<TransientInput*>(input4)->GetTimeInputOffset(time_yr);
    581581                if (fmod(offset,12.)!=1){
Note: See TracChangeset for help on using the changeset viewer.