Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_Pointer) | :: | arrayPtr | ||||
integer | :: | rank | ||||
type(ESMF_TypeKind_Flag) | :: | typekind | ||||
integer | :: | rc |
subroutine f_esmf_localarrayf90deallocate(arrayPtr, rank, typekind, rc) use ESMF_UtilTypesMod ! ESMF base class use ESMF_BaseMod ! ESMF base class use ESMF_LogErrMod ! ESMF error logging use ESMF_LocalArrayMod implicit none type(ESMF_Pointer) :: arrayPtr integer :: rank type(ESMF_TypeKind_Flag) :: typekind integer :: rc type(ESMF_LocalArray) :: array array%this = arrayPtr ESMF_INIT_SET_CREATED(array) call ESMF_LocalArrayF90Deallocate(array, typekind, rank, rc=rc) if (ESMF_LogFoundError(rcToCheck=rc, & ESMF_ERR_PASSTHRU, & ESMF_CONTEXT)) return end subroutine f_esmf_localarrayf90deallocate