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(datetime) 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 1316 del file datetime_class.F90.
1317 res%iminuti = this%iminuti/n
1318 res%month = this%month/n
1320 END FUNCTION timedelta_divint
1323 ELEMENTAL FUNCTION timedelta_divtd(this, that)
RESULT(res)
1324 TYPE(timedelta),
INTENT(IN) :: this, that
1327 res = int(this%iminuti/that%iminuti)