|
libsim Versione 8.0.0
|
◆ arrayof_ttr_mapper_insert_unique()
Method for inserting an element of the array at a desired position only if it is not present in the array yet. If necessary, the array is reallocated to accomodate the new element.
Definizione alla linea 566 del file stat_proc_engine.F90. 567! create output time and timerange lists
568
569IF (lforecast) THEN ! forecast mode
570 IF (time_definition == 0) THEN ! reference time
571 CALL insert(a_otime, itime) ! should I limit to elements itime >= lstart?
572
573! apply start shift to timerange, not to reftime
574! why did we use itime(SIZE(itime)) (last ref time)?
575! CALL getval(lstart-itime(SIZE(itime)), asec=dstart)
576 CALL getval(lstart-itime(1), asec=dstart)
577! allow starting before first reftime but restrict dtstart to -steps
578! dstart = MAX(0, dstart)
|