Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=ESMF_KIND_I8), | intent(in) | :: | isInit |
recursive function ESMF_InitCheckDeep(isInit) result (InitCheckDeep) ! ! !RETURN VALUE: integer :: InitCheckDeep ! !ARGUMENTS: ! ESMF_INIT_TYPE, intent(in) :: isInit ! !DESCRIPTION: ! This function takes a classes' isInit component (declared by ! the initialization macros) and returns an error return code. ! ! The arguments are: ! \begin{description} ! ! \item [isInit] ! Initialization macro defined type component. ! \end{description} ! !EOPI ! base return code on isInit value if (isInit .eq. ESMF_INIT_CREATED) then InitCheckDeep=ESMF_SUCCESS else if (isInit .eq. ESMF_INIT_DELETED) then InitCheckDeep=ESMF_RC_OBJ_DELETED else InitCheckDeep=ESMF_RC_OBJ_NOT_CREATED endif end function ESMF_InitCheckDeep