Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Added support for importing mass flux from ExtData #172

Closed
wants to merge 10 commits into from
Closed
2 changes: 1 addition & 1 deletion src/GCHP_GridComp/FVdycoreCubed_GridComp
43 changes: 25 additions & 18 deletions src/GCHP_GridComp/GCHP_GridCompMod.F90
Expand Up @@ -30,6 +30,7 @@ module GCHP_GridCompMod

use ESMF
use MAPL_Mod
use pFlogger, only: logging, Logger
use CHEM_GridCompMod, only : AtmosChemSetServices => SetServices
use AdvCore_GridCompMod, only : AtmosAdvSetServices => SetServices
use GCHPctmEnv_GridComp, only : EctmSetServices => SetServices
Expand All @@ -55,6 +56,8 @@ module GCHP_GridCompMod
!EOP

integer :: ADV, CHEM, ECTM, MemDebugLevel
class(Logger), pointer :: lgr => null()


contains

Expand Down Expand Up @@ -107,6 +110,8 @@ subroutine SetServices ( GC, RC )
_VERIFY(STATUS)
Iam = trim(COMP_NAME) // "::" // Iam

lgr => logging%get_logger('GCHP')

! Register services for this component
! ------------------------------------

Expand Down Expand Up @@ -198,32 +203,34 @@ subroutine SetServices ( GC, RC )
SRC_ID = ADV, &
__RC__ )

CALL MAPL_AddConnectivity ( GC, &
SHORT_NAME = (/'AIRDENS'/), &
DST_ID = CHEM, &
SRC_ID = ECTM, &
__RC__ )

CALL MAPL_AddConnectivity ( GC, &
SRC_NAME = (/ 'CXr8 ', &
'CYr8 ', &
'MFXr8 ', &
'MFYr8 ', &
'PLE0r8 ', &
SRC_NAME = (/ 'PLE0r8 ', &
'PLE1r8 ', &
'DryPLE0r8', &
'DryPLE1r8' /), &
DST_NAME = (/ 'CX ', &
'CY ', &
'MFX ', &
'MFY ', &
'PLE0 ', &
'DryPLE1r8' , &
'SPHU0r8 ' /), &
DST_NAME = (/ 'PLE0 ', &
'PLE1 ', &
'DryPLE0', &
'DryPLE1' /), &
'DryPLE1', &
'SPHU0 ' /), &
DST_ID = ADV, &
SRC_ID = ECTM, &
__RC__ )
CALL MAPL_AddConnectivity ( GC, &
SHORT_NAME = (/'AIRDENS'/), &
DST_ID = CHEM, &
SRC_ID = ECTM, &
__RC__ )

CALL MAPL_AddConnectivity ( GC, &
SHORT_NAME = (/ 'CX ', &
'CY ', &
'MFX', &
'MFY' /), &
DST_ID = ADV, &
SRC_ID = ECTM, &
__RC__ )

CALL MAPL_AddConnectivity ( GC, &
SHORT_NAME = (/ 'AREA ', &
Expand Down