From e824041da6db95f82a24d8501fa3e05a20aa07e3 Mon Sep 17 00:00:00 2001 From: Michael Levy Date: Mon, 4 Nov 2024 11:08:27 -0700 Subject: [PATCH] Update dummy MARBL interface Add a few components we use with running means --- config_src/external/MARBL/marbl_interface.F90 | 9 +++++++++ .../external/MARBL/marbl_interface_public_types.F90 | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/config_src/external/MARBL/marbl_interface.F90 b/config_src/external/MARBL/marbl_interface.F90 index 039f231b94..868314288e 100644 --- a/config_src/external/MARBL/marbl_interface.F90 +++ b/config_src/external/MARBL/marbl_interface.F90 @@ -9,6 +9,7 @@ module marbl_interface use marbl_interface_public_types, only : marbl_diagnostics_type use marbl_interface_public_types, only : marbl_domain_type use marbl_interface_public_types, only : marbl_output_for_GCM_type + use marbl_interface_public_types, only : marbl_running_mean_0d_type implicit none private ! Only want marbl_interface_class to be public, not supporting functions @@ -33,6 +34,14 @@ module marbl_interface real, allocatable :: bot_flux_to_tend(:) !< dummy array for bot flux to tendency wgts real, allocatable :: surface_fluxes(:,:) !< dummy fluxes real, allocatable :: interior_tendencies(:,:) !< dummy tendencies + real, allocatable :: glo_avg_fields_interior_tendency(:) !< dummy tracer array + real, allocatable :: glo_avg_fields_surface_flux(:,:) !< dummy tracer array + real, allocatable :: glo_avg_averages_interior_tendency(:) !< dummy tracer array + real, allocatable :: glo_avg_averages_surface_flux(:) !< dummy tracer array + type(marbl_running_mean_0d_type), allocatable :: glo_avg_rmean_interior_tendency(:) !< dummy rmean array + type(marbl_running_mean_0d_type), allocatable :: glo_avg_rmean_surface_flux(:) !< dummy rmean array + type(marbl_running_mean_0d_type), allocatable :: glo_scalar_rmean_interior_tendency(:) !< dummy rmean array + type(marbl_running_mean_0d_type), allocatable :: glo_scalar_rmean_surface_flux(:) !< dummy rmean array contains procedure, public :: put_setting !< dummy put_setting routine procedure, public :: get_setting !< dummy get_setting routine diff --git a/config_src/external/MARBL/marbl_interface_public_types.F90 b/config_src/external/MARBL/marbl_interface_public_types.F90 index 3955faf73a..a6305e5fea 100644 --- a/config_src/external/MARBL/marbl_interface_public_types.F90 +++ b/config_src/external/MARBL/marbl_interface_public_types.F90 @@ -87,4 +87,10 @@ module marbl_interface_public_types type(marbl_single_output_type), dimension(:), pointer :: outputs_for_GCM => NULL() !< dummy outputs_for_GCM end type marbl_output_for_GCM_type + !> A non-functioning template of MARBL running mean type + type, public :: marbl_running_mean_0d_type + character(len=0) :: sname !< dummy shortname label + real :: rmean !< dummy running mean values + end type marbl_running_mean_0d_type + end module marbl_interface_public_types \ No newline at end of file