Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_CWrap) | :: | comp | ||||
type(ESMF_VMPlan) | :: | vmplan | ||||
integer | :: | rc |
recursive subroutine f_esmf_compgetvmplan(comp, vmplan, rc) use ESMF_UtilTypesMod ! ESMF utility types use ESMF_BaseMod ! ESMF base class use ESMF_CompMod use ESMF_VMMod use ESMF_InitMacrosMod implicit none type(ESMF_CWrap) :: comp type(ESMF_VMPlan) :: vmplan integer :: rc type(ESMF_VMPlan) :: local_vmplan type(ESMF_Pointer) :: this ! Initialize return code; assume routine not implemented rc = ESMF_RC_NOT_IMPL call ESMF_CompGet(compp=comp%compp, vmplan=local_vmplan, rc=rc) call ESMF_VMPlanGetThis(local_vmplan, this, rc=rc) ! Get C++ address call ESMF_VMPlanSetThis(vmplan, this, rc=rc) ! Set C++ address end subroutine f_esmf_compgetvmplan