Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_TimeInterval), | intent(in) | :: | timeinterval |
function ESMF_TimeIntervalAbsValue(timeinterval) ! !RETURN VALUE: type(ESMF_TimeInterval) :: ESMF_TimeIntervalAbsValue ! !ARGUMENTS: type(ESMF_TimeInterval), intent(in) :: timeinterval ! ! !STATUS: ! \begin{itemize} ! \item\apiStatusCompatibleVersion{5.2.0r} ! \end{itemize} ! ! !DESCRIPTION: ! Returns the absolute value of {\tt timeinterval}. ! ! The argument is: ! \begin{description} ! \item[timeinterval] ! The object instance to take the absolute value of. ! Absolute value is returned as the value of the function. ! \end{description} ! !EOP ! !REQUIREMENTS: ! TMG1.5.8 integer :: localrc ! check input ESMF_INIT_CHECK_SHALLOW_SHORT(ESMF_TimeIntervalGetInit,timeinterval,localrc) ! invoke C to C++ entry point call c_ESMC_TimeIntervalAbsValue(timeinterval, ESMF_TimeIntervalAbsValue) ! mark output as successfully initialized call ESMF_TimeIntervalInit(ESMF_TimeIntervalAbsValue) end function ESMF_TimeIntervalAbsValue