Changeset 26226


Ignore:
Timestamp:
04/29/21 17:44:19 (4 years ago)
Author:
schlegel
Message:

CHG: allow for cycle_forcing before first forcing stamp

Location:
issm/trunk-jpl
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Inputs/TransientInput.cpp

    r26208 r26226  
    432432        time1 = nsteps*dt;
    433433
    434         if(cycle && (time<time0 || time>time1)){
     434        if(cycle){
    435435
    436436                /*See by how many intervals we have to offset time*/
     
    441441
    442442                /*Uncomment following line if you would like to apply a cycle BEFORE the time series starts*/
    443                 //if(time<time0) num_intervals = -num_intervals-1;
     443                if(time<time0) num_intervals = -num_intervals-1;
    444444
    445445                if(fabs(time-time0)/deltat == reCast<IssmDouble>(num_intervals)){
Note: See TracChangeset for help on using the changeset viewer.