Changeset 27844


Ignore:
Timestamp:
07/20/23 13:00:30 (20 months ago)
Author:
vverjans
Message:

BUG arma timestepping should start at starttime and not at 0

File:
1 edited

Legend:

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

    r27829 r27844  
    156156                        }
    157157                        /*Compute polynomial with parameters of indperiod*/
    158                         if(indperiod==0) telapsed_break = tatstep;
     158                        if(indperiod==0) telapsed_break = tatstep-starttime;
    159159                        else             telapsed_break = tatstep-datebreaks_basin[indperiod-1];
    160160                        for(int j=0;j<numparams;j++)   sumpoly[s] = sumpoly[s]+polyparams_basin[indperiod+j*numperiods]*pow(telapsed_break,j);
Note: See TracChangeset for help on using the changeset viewer.