libsim  Versione8.0.0

◆ pack_distinct_ttr_mapper()

type(ttr_mapper) function, dimension(dim) stat_proc_engine::pack_distinct_ttr_mapper ( type(ttr_mapper), dimension(:), intent(in)  vect,
integer, intent(in)  dim,
logical, dimension(:), intent(in), optional  mask,
logical, intent(in), optional  back 
)

compatta gli elementi distinti di vect in un array

Definizione alla linea 983 del file stat_proc_engine.F90.

983  time = reftime
984  p1 = pend - reftime
985  p2 = pend - pstart
986 ELSE IF (time_definition == 1 .OR. time_definition == 2) THEN ! time == verification time
987  time = pend
988  p1 = pend - reftime
989  p2 = pend - pstart
990 ELSE
991  time = datetime_miss
992 ENDIF
993 
994 timerange%timerange = stat_proc
995 IF (time /= datetime_miss) THEN
996  CALL getval(p1, amsec=dmsec) ! end of period
997  timerange%p1 = int(dmsec/1000_int_ll)
998  CALL getval(p2, amsec=dmsec) ! length of period
999  timerange%p2 = int(dmsec/1000_int_ll)
1000 ELSE
1001  timerange%p1 = imiss
1002  timerange%p2 = imiss
1003 ENDIF
1004 
1005 END SUBROUTINE time_timerange_set_period
1006 
1007 
1008 END MODULE stat_proc_engine
1009 
This module contains functions that are only for internal use of the library.

Generated with Doxygen.