|
◆ arrayof_ttr_mapper_insert_unique()
subroutine, private stat_proc_engine::arrayof_ttr_mapper_insert_unique |
( |
type(arrayof_ttr_mapper) |
this, |
|
|
type(ttr_mapper), intent(in) |
content, |
|
|
integer, intent(in), optional |
pos |
|
) |
| |
|
private |
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. - Parametri
-
| this | array object to extend |
[in] | content | object of TYPE TYPE(ttr_mapper) to insert |
[in] | pos | position where to insert, if it is out of range, it is clipped, if it is not provided, the object is appended |
Definizione alla linea 570 del file stat_proc_engine.F90.
571 msteps = stepms/1000_int_ll
572 IF (mod(steps, msteps) == 0) mstepms = stepms
575 msteps = mstepms/1000_int_ll
577 tmptime = lstart + step
578 DO WHILE(tmptime < lend)
579 CALL insert_unique(a_otime, tmptime)
580 tmptime = tmptime + step
|