libsim  Versione8.0.0

◆ arrayof_ttr_mapper_append_unique()

integer function, private stat_proc_engine::arrayof_ttr_mapper_append_unique ( type(arrayof_ttr_mapper)  this,
type(ttr_mapper), intent(in)  content 
)
private

Quick function to append an element to the array only if it is not present in the array yet.

The return value is the position at which the element has been appended or at which it has been found.

Parametri
thisarray object to extend
[in]contentobject of TYPE TYPE(ttr_mapper) to append

Definizione alla linea 597 del file stat_proc_engine.F90.

597  msteps = stepms/1000_int_ll
598  IF (mod(steps, msteps) == 0) mstepms = stepms
599  ENDIF
600  ENDDO
601  msteps = mstepms/1000_int_ll
602 
603  tmptime = lstart + step
604  DO WHILE(tmptime < lend) ! < since lend has been extended
605  CALL insert_unique(a_otime, tmptime)
606  tmptime = tmptime + step
607  ENDDO
608 
609 ! in next loop, we used initially steps instead of msteps (see comment

Generated with Doxygen.