Skip to content

Migrate MAPL_AllocateCoupling caller in GEOSgigatraj to MAPL_FieldEmptyComplete #1401

@tclune

Description

@tclune

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.

Caller in this repo

  • GEOSgigatraj_GridComp/GEOS_GigatrajGridComp.F90 line 382

Changes required

  • Add use mapl3g_Field_API, only: MAPL_FieldEmptyComplete to the 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 GOCART companion issue are merged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MAPL3MAPL 3 Related

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions