PERIOD_BDY_EM_SCALAR.inc

References to this file elsewhere.
1 !STARTOFREGISTRYGENERATEDINCLUDE 'inc/PERIOD_BDY_EM_SCALAR.inc'
2 !
3 ! WARNING This file is generated automatically by use_registry
4 ! using the data base in the file named Registry.
5 ! Do not edit.  Your changes to this file will be lost.
6 !
7 #ifndef DATA_CALLS_INCLUDED
8 --- DELIBERATE SYNTAX ERROR: THIS ROUTINE SHOULD INCLUDE "em_data_calls.inc"
9     BECAUSE IT CONTAINS AN RSL PERIOD OPERATION
10 #endif
11 IF ( grid%comms( PERIOD_BDY_EM_SCALAR ) == invalid_message_value .AND. (config_flags%periodic_x .OR. config_flags%periodic_y )) THEN
12   CALL wrf_debug ( 50 , 'setting up period PERIOD_BDY_EM_SCALAR' )
13   CALL setup_period_rsl( grid )
14   CALL reset_period
15   if ( P_qni .GT. 1 ) CALL add_msg_period_real ( scalar ( grid%sm31,grid%sm32,grid%sm33,P_qni), glen(3) )
16   if ( P_qt .GT. 1 ) CALL add_msg_period_real ( scalar ( grid%sm31,grid%sm32,grid%sm33,P_qt), glen(3) )
17   CALL period_def ( grid%domdesc , grid%comms ( PERIOD_BDY_EM_SCALAR ) , 3 )
18 ENDIF
19 IF ( config_flags%periodic_x ) THEN
20   CALL wrf_debug ( 50 , 'exchanging period PERIOD_BDY_EM_SCALAR on x' )
21   CALL rsl_exch_period ( grid%domdesc , grid%comms( PERIOD_BDY_EM_SCALAR ) , x_period_flag )
22 END IF
23 IF ( config_flags%periodic_y ) THEN
24   CALL wrf_debug ( 50 , 'exchanging period PERIOD_BDY_EM_SCALAR on y' )
25   CALL rsl_exch_period ( grid%domdesc , grid%comms( PERIOD_BDY_EM_SCALAR ) , y_period_flag )
26 END IF
27 !ENDOFREGISTRYGENERATEDINCLUDE