|
|
◆ arrayof_ttr_mapper_delete()
| subroutine arrayof_ttr_mapper_delete |
( |
type(arrayof_ttr_mapper) |
this, |
|
|
logical, intent(in), optional |
nodealloc |
|
) |
| |
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
-
| this | array object to be destroyed |
| [in] | nodealloc | if 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 715 del file stat_proc_engine.F90.
715 ELSE IF (pend1 == pend2) THEN 716 lmapper%extra_info = 2 718 lmapper%extra_info = imiss 720 lmapper%time = pstart1 721 n = insert_sorted(map_ttr(i,j), lmapper, .true., .true.) 731 END SUBROUTINE recompute_stat_proc_agg_common 734 SUBROUTINE compute_stat_proc_agg_sw(vertime, pstart, pend, time_mask, & 736 TYPE(datetime), INTENT(in) :: vertime(:) 737 TYPE(datetime), INTENT(in) :: pstart 738 TYPE(datetime), INTENT(in) :: pend 739 LOGICAL, INTENT(in) :: time_mask(:) 740 TYPE(timedelta), OPTIONAL, INTENT(out) :: max_step 741 DOUBLE PRECISION, OPTIONAL, INTENT(out) :: weights(:) 744 TYPE(datetime), ALLOCATABLE :: lvertime(:) 745 TYPE(datetime) :: half, nexthalf 746 INTEGER(kind=int_ll) :: dt, tdt 748 nt = count(time_mask) 749 ALLOCATE(lvertime(nt)) 750 lvertime = pack(vertime, mask=time_mask) 752 IF ( PRESENT(max_step)) THEN
|