Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_CWrap) | :: | comp | ||||
integer | :: | rc |
recursive subroutine f_esmf_compdelete(comp, rc) use ESMF_UtilTypesMod ! ESMF utility types use ESMF_BaseMod ! ESMF base class use ESMF_CompMod use ESMF_InitMacrosMod implicit none type(ESMF_CWrap) :: comp integer :: rc ! Initialize return code; assume routine not implemented rc = ESMF_RC_NOT_IMPL deallocate(comp%compp) nullify(comp%compp) ! return successfully rc = ESMF_SUCCESS end subroutine f_esmf_compdelete