mapl3g_Generic Module

$ public :: MAPL_GetInternalState

$ $ public :: MAPL_GetOrbit $ public :: MAPL_GetCoordinates $ public :: MAPL_GetLayout

$ interface MAPL_GetInternalState $ procedure :: get_internal_state $ end interface MAPL_GetInternalState


Uses

Used by

  • module~~mapl3g_generic~~UsedByGraph module~mapl3g_generic mapl3g_Generic module~generic3g Generic3g module~generic3g->module~mapl3g_generic module~mapl3g_deprecated mapl3g_Deprecated module~mapl3g_deprecated->module~mapl3g_generic module~protoextdatagc ProtoExtDataGC module~protoextdatagc->module~mapl3g_generic module~simpleparentgridcomp SimpleParentGridComp module~simpleparentgridcomp->module~mapl3g_generic module~test_runchild Test_RunChild module~test_runchild->module~mapl3g_generic module~test_scenarios Test_Scenarios module~test_scenarios->module~mapl3g_generic module~test_simpleleafgridcomp Test_SimpleLeafGridComp module~test_simpleleafgridcomp->module~mapl3g_generic module~test_simpleparentgridcomp Test_SimpleParentGridComp module~test_simpleparentgridcomp->module~mapl3g_generic proc~setservices setservices proc~setservices->module~mapl3g_generic proc~setservices~4 setservices proc~setservices~4->module~mapl3g_generic proc~setservices~4->module~simpleparentgridcomp proc~setservices~5 setservices proc~setservices~5->module~mapl3g_generic module~configurableleafgridcomp ConfigurableLeafGridComp module~configurableleafgridcomp->module~generic3g module~configurableparentgridcomp ConfigurableParentGridComp module~configurableparentgridcomp->module~generic3g module~mapl3 mapl3 module~mapl3->module~generic3g module~mapl3g_cap mapl3g_Cap module~mapl3->module~mapl3g_cap module~mapl3g_cap->module~generic3g module~mapl3g_capgridcomp mapl3g_CapGridComp module~mapl3g_cap->module~mapl3g_capgridcomp module~mapl3g_capgridcomp->module~generic3g module~mapl3g_extdatagridcomp mapl3g_ExtDataGridComp module~mapl3g_extdatagridcomp->module~generic3g module~mapl3g_historycollectiongridcomp mapl3g_HistoryCollectionGridComp module~mapl3g_historycollectiongridcomp->module~generic3g module~mapl3g_historycollectiongridcomp_private mapl3g_HistoryCollectionGridComp_private module~mapl3g_historycollectiongridcomp->module~mapl3g_historycollectiongridcomp_private module~mapl3g_historycollectiongridcomp_private->module~generic3g module~mapl3g_historygridcomp mapl3g_HistoryGridComp module~mapl3g_historygridcomp->module~generic3g module~mapl3g_historygridcomp->module~mapl3g_historycollectiongridcomp module~test_extdatagridcomp Test_ExtDataGridComp module~test_extdatagridcomp->module~generic3g module~test_historygridcomp Test_HistoryGridComp module~test_historygridcomp->module~generic3g proc~setservices~9 setServices proc~setservices~9->module~protoextdatagc module~test_historycollectiongridcomp Test_HistoryCollectionGridComp module~test_historycollectiongridcomp->module~mapl3g_historycollectiongridcomp_private proc~setservices~13 setServices proc~setservices~13->module~mapl3g_historygridcomp proc~setservices~16 setServices proc~setservices~16->module~configurableleafgridcomp proc~setservices~2 setServices proc~setservices~2->module~mapl3g_extdatagridcomp proc~setservices~7 setServices proc~setservices~7->module~configurableparentgridcomp program~geos geos program~geos->module~mapl3

Interfaces

public interface MAPL_AddChild

  • private subroutine add_child_by_name(gridcomp, child_name, setservices, config, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gridcomp
    character(len=*), intent(in) :: child_name
    class(AbstractUserSetServices), intent(in) :: setservices
    type(ESMF_HConfig), intent(inout) :: config
    integer, intent(out), optional :: rc

public interface MAPL_AddExportSpec

  • private subroutine add_export_spec(gridcomp, unusable, short_name, standard_name, units, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gridcomp
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in) :: short_name
    character(len=*), intent(in) :: standard_name
    character(len=*), intent(in), optional :: units
    integer, intent(out), optional :: rc

public interface MAPL_AddImportSpec

  • private subroutine add_import_spec_legacy(gc, short_name, long_name, units, dims, vlocation, datatype, num_subtiles, refresh_interval, averaging_interval, halowidth, precision, default, restart, ungridded_dims, field_type, staggering, rotation, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gc
    character(len=*), intent(in) :: short_name
    character(len=*), intent(in), optional :: long_name
    character(len=*), intent(in), optional :: units
    integer, intent(in), optional :: dims
    integer, intent(in), optional :: vlocation
    integer, intent(in), optional :: datatype
    integer, intent(in), optional :: num_subtiles
    integer, intent(in), optional :: refresh_interval
    integer, intent(in), optional :: averaging_interval
    integer, intent(in), optional :: halowidth
    integer, intent(in), optional :: precision
    real, intent(in), optional :: default
    integer, intent(in), optional :: restart
    integer, intent(in), optional :: ungridded_dims(:)
    integer, intent(in), optional :: field_type
    integer, intent(in), optional :: staggering
    integer, intent(in), optional :: rotation
    integer, intent(out), optional :: rc

public interface MAPL_AddInternalSpec

  • private subroutine add_internal_spec(gridcomp, unusable, short_name, standard_name, units, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gridcomp
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in) :: short_name
    character(len=*), intent(in) :: standard_name
    character(len=*), intent(in), optional :: units
    integer, intent(out), optional :: rc

public interface MAPL_AddSpec

  • private subroutine add_spec_basic(gridcomp, variable_spec, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gridcomp
    type(VariableSpec), intent(in) :: variable_spec
    integer, intent(out), optional :: rc
  • private subroutine add_spec_explicit(gridcomp, state_intent, unusable, short_name, standard_name, typekind, ungridded_dims, units, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gridcomp
    type(ESMF_StateIntent_Flag), intent(in) :: state_intent
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in) :: short_name
    character(len=*), intent(in) :: standard_name
    type(ESMF_TypeKind_Flag), intent(in), optional :: typekind
    type(UngriddedDims), intent(in) :: ungridded_dims
    character(len=*), intent(in), optional :: units
    integer, intent(out), optional :: rc

public interface MAPL_ConnectAll

  • private subroutine gridcomp_connect_all(gridcomp, src_comp, dst_comp, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gridcomp
    character(len=*), intent(in) :: src_comp
    character(len=*), intent(in) :: dst_comp
    integer, intent(out), optional :: rc

public interface MAPL_GridCompGet

  • private subroutine gridcomp_get(gridcomp, unusable, hconfig, outer_meta, logger, registry, geom, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gridcomp
    class(KeywordEnforcer), intent(in), optional :: unusable
    type(ESMF_HConfig), intent(out), optional :: hconfig
    type(OuterMetaComponent), intent(out), optional, pointer :: outer_meta
    class(Logger), intent(out), optional, pointer :: logger
    type(StateRegistry), intent(out), optional, pointer :: registry
    type(ESMF_Geom), intent(out), optional :: geom
    integer, intent(out), optional :: rc

public interface MAPL_GridCompGetOuterMeta

  • private recursive subroutine gridcomp_get_outer_meta(gridcomp, outer_meta, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gridcomp
    type(OuterMetaComponent), intent(out), pointer :: outer_meta
    integer, intent(out), optional :: rc

public interface MAPL_GridCompIsGeneric

  • private function gridcomp_is_generic(gridcomp, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(in) :: gridcomp
    integer, intent(out), optional :: rc

    Return Value logical

public interface MAPL_GridCompIsUser

  • private function gridcomp_is_user(gridcomp, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(in) :: gridcomp
    integer, intent(out), optional :: rc

    Return Value logical

public interface MAPL_GridCompSetEntryPoint

  • private subroutine gridcomp_set_entry_point(gridcomp, method_flag, userProcedure, unusable, phase_name, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gridcomp
    type(ESMF_Method_Flag), intent(in) :: method_flag
    procedure(I_Run) :: userProcedure
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: phase_name
    integer, intent(out), optional :: rc

public interface MAPL_ResourceGet

  • private subroutine resource_get_i4_gc(gc, keystring, value, unusable, default, value_set, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gc
    character(len=*), intent(in) :: keystring
    integer(kind=ESMF_KIND_I4), intent(inout) :: value
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer(kind=ESMF_KIND_I4), intent(in), optional :: default
    logical, intent(out), optional :: value_set
    integer, intent(out), optional :: rc
  • private subroutine resource_get_i8_gc(gc, keystring, value, unusable, default, value_set, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gc
    character(len=*), intent(in) :: keystring
    integer(kind=ESMF_KIND_I8), intent(inout) :: value
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer(kind=ESMF_KIND_I8), intent(in), optional :: default
    logical, intent(out), optional :: value_set
    integer, intent(out), optional :: rc
  • private subroutine resource_get_r4_gc(gc, keystring, value, unusable, default, value_set, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gc
    character(len=*), intent(in) :: keystring
    real(kind=ESMF_KIND_R4), intent(inout) :: value
    class(KeywordEnforcer), intent(in), optional :: unusable
    real(kind=ESMF_KIND_R4), intent(in), optional :: default
    logical, intent(out), optional :: value_set
    integer, intent(out), optional :: rc
  • private subroutine resource_get_r8_gc(gc, keystring, value, unusable, default, value_set, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gc
    character(len=*), intent(in) :: keystring
    real(kind=ESMF_KIND_R8), intent(inout) :: value
    class(KeywordEnforcer), intent(in), optional :: unusable
    real(kind=ESMF_KIND_R8), intent(in), optional :: default
    logical, intent(out), optional :: value_set
    integer, intent(out), optional :: rc
  • private subroutine resource_get_logical_gc(gc, keystring, value, unusable, default, value_set, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gc
    character(len=*), intent(in) :: keystring
    logical, intent(inout) :: value
    class(KeywordEnforcer), intent(in), optional :: unusable
    logical, intent(in), optional :: default
    logical, intent(out), optional :: value_set
    integer, intent(out), optional :: rc
  • private subroutine resource_get_i4seq_gc(gc, keystring, value, unusable, default, value_set, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gc
    character(len=*), intent(in) :: keystring
    integer(kind=ESMF_KIND_I4), intent(inout), dimension(:), allocatable :: value
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer(kind=ESMF_KIND_I4), intent(in), optional, dimension(:) :: default
    logical, intent(out), optional :: value_set
    integer, intent(out), optional :: rc
  • private subroutine resource_get_i8seq_gc(gc, keystring, value, unusable, default, value_set, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gc
    character(len=*), intent(in) :: keystring
    integer(kind=ESMF_KIND_I8), intent(inout), dimension(:), allocatable :: value
    class(KeywordEnforcer), intent(in), optional :: unusable
    integer(kind=ESMF_KIND_I8), intent(in), optional, dimension(:) :: default
    logical, intent(out), optional :: value_set
    integer, intent(out), optional :: rc
  • private subroutine resource_get_r4seq_gc(gc, keystring, value, unusable, default, value_set, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gc
    character(len=*), intent(in) :: keystring
    real(kind=ESMF_KIND_R4), intent(inout), dimension(:), allocatable :: value
    class(KeywordEnforcer), intent(in), optional :: unusable
    real(kind=ESMF_KIND_R4), intent(in), optional, dimension(:) :: default
    logical, intent(out), optional :: value_set
    integer, intent(out), optional :: rc
  • private subroutine resource_get_r8seq_gc(gc, keystring, value, unusable, default, value_set, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gc
    character(len=*), intent(in) :: keystring
    real(kind=ESMF_KIND_R8), intent(inout), dimension(:), allocatable :: value
    class(KeywordEnforcer), intent(in), optional :: unusable
    real(kind=ESMF_KIND_R8), intent(in), optional, dimension(:) :: default
    logical, intent(out), optional :: value_set
    integer, intent(out), optional :: rc
  • private subroutine resource_get_logical_seq_gc(gc, keystring, value, unusable, default, value_set, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gc
    character(len=*), intent(in) :: keystring
    logical, intent(inout), dimension(:), allocatable :: value
    class(KeywordEnforcer), intent(in), optional :: unusable
    logical, intent(in), optional, dimension(:) :: default
    logical, intent(out), optional :: value_set
    integer, intent(out), optional :: rc
  • private subroutine resource_get_string_gc(gc, keystring, value, unusable, default, value_set, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gc
    character(len=*), intent(in) :: keystring
    character(len=:), intent(inout), allocatable :: value
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: default
    logical, intent(out), optional :: value_set
    integer, intent(out), optional :: rc

public interface MAPL_RunChild

  • private recursive subroutine run_child_by_name(gridcomp, child_name, unusable, phase_name, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gridcomp
    character(len=*), intent(in) :: child_name
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in), optional :: phase_name
    integer, intent(out), optional :: rc

public interface MAPL_RunChildren

  • private recursive subroutine run_children(gridcomp, unusable, phase_name, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gridcomp
    class(KeywordEnforcer), intent(in), optional :: unusable
    character(len=*), intent(in) :: phase_name
    integer, intent(out), optional :: rc

public interface MAPL_SetGeometry

  • private subroutine set_geometry(gridcomp, state_intent, short_name, geom, vertical_grid, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_GridComp), intent(inout) :: gridcomp
    type(ESMF_StateIntent_Flag), intent(in) :: state_intent
    character(len=*), intent(in) :: short_name
    type(ESMF_Geom), intent(in), optional :: geom
    class(VerticalGrid), intent(in), optional :: vertical_grid
    integer, intent(out), optional :: rc

Functions

public function get_outer_meta_from_inner_gc(gridcomp, rc) result(outer_meta)

Arguments

Type IntentOptional Attributes Name
type(ESMF_GridComp), intent(inout) :: gridcomp
integer, intent(out), optional :: rc

Return Value type(OuterMetaComponent), pointer


Subroutines

public subroutine MAPL_GridCompSetGeom(gridcomp, geom, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_GridComp), intent(inout) :: gridcomp
type(ESMF_Geom), intent(in) :: geom
integer, intent(out), optional :: rc

public subroutine MAPL_GridCompSetVerticalGrid(gridcomp, vertical_grid, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_GridComp), intent(inout) :: gridcomp
class(VerticalGrid), intent(in) :: vertical_grid
integer, intent(out), optional :: rc