libsim Versione 8.0.0

◆ arrayof_ttr_mapper_delete()

subroutine, private arrayof_ttr_mapper_delete ( type(arrayof_ttr_mapper) this,
logical, intent(in), optional nodealloc )
private

Destructor for finalizing an array object.

If defined, calls the destructor for every element of the array object; finally it deallocates all the space occupied.

Parametri
thisarray object to be destroyed
[in]nodeallocif provided and .TRUE. , the space reserved for the array is not deallocated, thus the values are retained, while the array pointer is nullified, this means that the caller must have previously assigned the pointer contents thisarray to another pointer to prevent memory leaks

Definizione alla linea 700 del file stat_proc_engine.F90.

705 IF (lforecast) THEN
706 IF (reftime1 /= reftime2) cycle do_otime2
707 ENDIF
708
709 IF (climat_behavior .AND. pstart1 == pstart2) cycle do_otime2
710 IF (pstart1 >= pstart2 .AND. pend1 <= pend2) THEN ! useful
711 lmapper%it = k
712 lmapper%itr = l
713 IF (pstart1 == pstart2) THEN
714 lmapper%extra_info = 1 ! start of interval
715 ELSE IF (pend1 == pend2) THEN
716 lmapper%extra_info = 2 ! end of interval
717 ELSE
718 lmapper%extra_info = imiss
719 ENDIF
720 lmapper%time = pstart1 ! = pend1, order by time?
721 n = insert_sorted(map_ttr(i,j), lmapper, .true., .true.)
722! no CYCLE, a single input can contribute to multiple output intervals
723 ENDIF
724 ENDDO do_otime2
725 ENDDO do_otimerange2
726 ENDDO do_itime2
727 ENDDO do_itimerange2
728
729ENDIF
730
731END SUBROUTINE recompute_stat_proc_agg_common
732
733
734SUBROUTINE compute_stat_proc_agg_sw(vertime, pstart, pend, time_mask, &
735 max_step, weights)
736TYPE(datetime),INTENT(in) :: vertime(:)
737TYPE(datetime),INTENT(in) :: pstart
738TYPE(datetime),INTENT(in) :: pend
739LOGICAL,INTENT(in) :: time_mask(:)
740TYPE(timedelta),OPTIONAL,INTENT(out) :: max_step
741DOUBLE PRECISION,OPTIONAL,INTENT(out) :: weights(:)
742
743INTEGER :: i, nt
744TYPE(datetime),ALLOCATABLE :: lvertime(:)
745TYPE(datetime) :: half, nexthalf
746INTEGER(kind=int_ll) :: dt, tdt

Generated with Doxygen.