libsim  Versione 7.2.4

◆ arrayof_datetime_insert_unique()

subroutine, private datetime_class::arrayof_datetime_insert_unique ( type(arrayof_datetime this,
type(datetime), 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
thisarray object to extend
[in]contentobject of TYPE TYPE(datetime) to insert
[in]posposition where to insert, if it is out of range, it is clipped, if it is not provided, the object is appended

Definizione alla linea 1320 del file datetime_class.F90.

1321 
1322 
1323 ELEMENTAL FUNCTION timedelta_divtd(this, that) RESULT(res)
1324 TYPE(timedelta),INTENT(IN) :: this, that
1325 INTEGER :: res
1326 
1327 res = int(this%iminuti/that%iminuti)
1328 
1329 END FUNCTION timedelta_divtd
1330 
1331 
1332 elemental FUNCTION timedelta_mod(this, that) RESULT(res)

Generated with Doxygen.