Skip to content

Port ReplenishAlarm.F90 off MAPL_MetaComp and MAPL_GetObjectFromGC #410

@tclune

Description

@tclune

ESMF/Shared/ReplenishAlarm.F90 uses MAPL_MetaComp and MAPL_GetObjectFromGC from the legacy MAPL_GenericMod, which is targeted for deletion. The fix is to replace the three MAPL_GetResource(MAPL,...) calls with MAPL_GridCompGetResource(gc,...) which takes the ESMF_GridComp directly, eliminating the need for the MAPL_MetaComp handle and the MAPL_GetObjectFromGC call entirely. Also update the include to MAPL.h.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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