ESMF_VMSetInitCreated Subroutine

public recursive subroutine ESMF_VMSetInitCreated(vm, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_VM), intent(inout) :: vm
integer, intent(out), optional :: rc

Called by

proc~~esmf_vmsetinitcreated~~CalledByGraph proc~esmf_vmsetinitcreated ESMF_VMSetInitCreated proc~esmf_arraybundlegetlistall ESMF_ArrayBundleGetListAll proc~esmf_arraybundlegetlistall->proc~esmf_vmsetinitcreated proc~esmf_compconstruct ESMF_CompConstruct proc~esmf_compconstruct->proc~esmf_vmsetinitcreated proc~esmf_delayoutget ESMF_DELayoutGet proc~esmf_delayoutget->proc~esmf_vmsetinitcreated proc~esmf_getvm ESMF_GetVM proc~esmf_getvm->proc~esmf_vmsetinitcreated proc~esmf_routehandlegetp ESMF_RouteHandleGetP proc~esmf_routehandlegetp->proc~esmf_vmsetinitcreated proc~f_esmf_compinsertvm f_esmf_compinsertvm proc~f_esmf_compinsertvm->proc~esmf_vmsetinitcreated proc~f_esmf_compreplicate f_esmf_compreplicate proc~f_esmf_compreplicate->proc~esmf_vmsetinitcreated proc~setservices SetServices proc~setservices->proc~esmf_vmsetinitcreated

Source Code

  recursive subroutine ESMF_VMSetInitCreated(vm, rc)
!
! !ARGUMENTS:
    type(ESMF_VM),  intent(inout)           :: vm
    integer,        intent(out),  optional  :: rc  
!         
!
! !DESCRIPTION:
!      Set init code in VM object to "CREATED".
!
!     The arguments are:
!     \begin{description}
!     \item[vm] 
!          Specified {\tt ESMF\_VM} object.
!     \item[{[rc]}] 
!          Return code; equals {\tt ESMF\_SUCCESS} if there are no errors.
!     \end{description}
!
!EOPI
!------------------------------------------------------------------------------

    ! initialize return code; assume routine not implemented
    if (present(rc)) rc = ESMF_RC_NOT_IMPL
    
    ! Set init code
    ESMF_INIT_SET_CREATED(vm)

    ! return successfully
    if (present(rc)) rc = ESMF_SUCCESS
    
  end subroutine ESMF_VMSetInitCreated