include file: PERIOD_BDY_EM_CHEM.inc 3,4
!STARTOFREGISTRYGENERATEDINCLUDE 'inc/PERIOD_BDY_EM_CHEM.inc'
!
! WARNING This file is generated automatically by use_registry
! using the data base in the file named Registry.
! Do not edit. Your changes to this file will be lost.
!
IF ( grid%comms( PERIOD_BDY_EM_CHEM ) == invalid_message_value .AND. (config_flags%periodic_x .OR. config_flags%periodic_y )) THEN
CALL wrf_debug
( 50 , 'setting up period PERIOD_BDY_EM_CHEM' )
CALL setup_period_rsl
( grid )
CALL rsl_create_message ( msg )
CALL rsl_create_period ( grid%comms ( PERIOD_BDY_EM_CHEM ) )
CALL rsl_describe_period ( grid%domdesc , grid%comms ( PERIOD_BDY_EM_CHEM ) , 3 , msg )
ENDIF
IF ( config_flags%periodic_x ) THEN
CALL wrf_debug
( 50 , 'exchanging period PERIOD_BDY_EM_CHEM on x' )
CALL rsl_exch_period ( grid%domdesc , grid%comms( PERIOD_BDY_EM_CHEM ) , x_period_flag )
END IF
IF ( config_flags%periodic_y ) THEN
CALL wrf_debug
( 50 , 'exchanging period PERIOD_BDY_EM_CHEM on y' )
CALL rsl_exch_period ( grid%domdesc , grid%comms( PERIOD_BDY_EM_CHEM ) , y_period_flag )
END IF
!ENDOFREGISTRYGENERATEDINCLUDE