Motivation
MAPL_AllocateCoupling is a legacy MAPL2 Base symbol being removed as part of the MAPL3 migration. The MAPL3 replacement is MAPL_FieldEmptyComplete (from mapl3g_Field_API), which has identical behavior.
Callers in this repo
ESMF/GOCART_GridComp/GOCART_GridCompMod.F90 line 1039 — inside AddFromExportToBundle_
ESMF/Aerosol_GridComp/Aerosol_GridComp.F90 line 198 — inside ForceAllocation
Changes required
- Add
use mapl3g_Field_API, only: MAPL_FieldEmptyComplete to each file
- Replace
call MAPL_AllocateCoupling(...) with call MAPL_FieldEmptyComplete(...)
Context
Part of the MAPL3 Base cleanup. The removal of MAPL_AllocateCoupling from MAPL Base cannot proceed until all external callers have been migrated. A corresponding MAPL PR will do the final removal once this and the GEOSgcm_GridComp companion issue are merged.
Motivation
MAPL_AllocateCouplingis a legacy MAPL2 Base symbol being removed as part of the MAPL3 migration. The MAPL3 replacement isMAPL_FieldEmptyComplete(frommapl3g_Field_API), which has identical behavior.Callers in this repo
ESMF/GOCART_GridComp/GOCART_GridCompMod.F90line 1039 — insideAddFromExportToBundle_ESMF/Aerosol_GridComp/Aerosol_GridComp.F90line 198 — insideForceAllocationChanges required
use mapl3g_Field_API, only: MAPL_FieldEmptyCompleteto each filecall MAPL_AllocateCoupling(...)withcall MAPL_FieldEmptyComplete(...)Context
Part of the MAPL3 Base cleanup. The removal of
MAPL_AllocateCouplingfrom MAPL Base cannot proceed until all external callers have been migrated. A corresponding MAPL PR will do the final removal once this and the GEOSgcm_GridComp companion issue are merged.