Skip to content

Migrate component callers of MAPL_GRID_INTERIOR and MAPL_GridGetCorners to geom equivalents #1406

@tclune

Description

@tclune

Summary

Migrate component callers of legacy MAPL_GRID_INTERIOR, MAPL_GridGetInterior, and MAPL_GridGetCorners to v3 equivalents grid_get_interior and grid_get_corners in mapl3g_GridGet.

Files to migrate

  • GEOSagcm_GridComp/GEOSsuperdyn_GridComp/@FVdycoreCubed_GridComp/AppGridCreate.F90 (3 call sites)
  • GEOSagcm_GridComp/GEOSphysics_GridComp/@GEOSchem_GridComp/@GAAS/LDE_Mod.F90 (1 call site)
  • GEOSagcm_GridComp/GEOSphysics_GridComp/@GEOSradiation_GridComp/GEOSirrad_GridComp/GEOS_IrradGridComp.F90 (1 call site)
  • GEOSagcm_GridComp/GEOSphysics_GridComp/@GEOSradiation_GridComp/GEOSsolar_GridComp/GEOS_SolarGridComp.F90 (1 call site)
  • GEOSwgcm_GridComp/GEOSwavewatch_GridComp/GEOS_WaveWatchGridComp.F90 (1 call site)

v3 replacement

use mapl3g_GridGet, only: grid_get_interior
...
integer, allocatable :: interior(:)
call grid_get_interior(grid, interior, rc=status)
i1 = interior(1); in = interior(2); j1 = interior(3); jn = interior(4)

Dependencies

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