Ignore:
Timestamp:
07/29/23 06:15:00 (21 months ago)
Author:
vverjans
Message:

CHG: ARMA process should start from starttime and not from 0

File:
1 edited

Legend:

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

    r27856 r27862  
    160160                        for(int j=0;j<numparams;j++)   sumpoly[s] = sumpoly[s]+polyparams_basin[indperiod+j*numperiods]*pow(telapsed_break,j);
    161161                }
    162                 else for(int j=0;j<numparams;j++) sumpoly[s] = sumpoly[s]+polyparams_basin[j*numperiods]*pow(tatstep,j);
     162                else for(int j=0;j<numparams;j++) sumpoly[s] = sumpoly[s]+polyparams_basin[j*numperiods]*pow(tatstep-starttime,j);
    163163        }
    164164
     
    24622462                if(lapserates_b[ii]!=0) isadjustsmb=true;
    24632463        }
    2464 
     2464       
    24652465        /*Adjust SMB if any lapse rate value is non-zero*/
    24662466        if(isadjustsmb){
Note: See TracChangeset for help on using the changeset viewer.