f_esmf_configfindlabel Subroutine

subroutine f_esmf_configfindlabel(config, label, isPresent, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Config) :: config
character(len=*), intent(in) :: label
type(ESMF_Logical), intent(out) :: isPresent
integer, intent(out) :: rc

Source Code

   subroutine f_esmf_configfindlabel(config, label, isPresent, rc)
     use ESMF_UtilTypesMod    ! ESMF base class
     use ESMF_BaseMod    ! ESMF base class
     use ESMF_ConfigMod

     implicit none

     type(ESMF_Config)               :: config
     character(len=*),   intent(in)  :: label
     type(ESMF_Logical), intent(out) :: isPresent
     integer,            intent(out) :: rc

     logical :: lisPresent

     ! Initialize return code; assume routine not implemented
     rc = ESMF_RC_NOT_IMPL

     call ESMF_ConfigFindLabel(config, label, isPresent=lisPresent, rc=rc)
     isPresent = lisPresent

   end subroutine f_esmf_configfindlabel