PERIOD_EM_COUPLE_B.inc

References to this file elsewhere.
1 !STARTOFREGISTRYGENERATEDINCLUDE 'inc/PERIOD_EM_COUPLE_B.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_EM_COUPLE_B ) == invalid_message_value .AND. (config_flags%periodic_x .OR. config_flags%periodic_y )) THEN
12   CALL wrf_debug ( 50 , 'setting up period PERIOD_EM_COUPLE_B' )
13   CALL setup_period_rsl( grid )
14   CALL reset_period
15   CALL add_msg_period_real ( grid%em_ph_1 , (glen(3)) )
16   CALL add_msg_period_real ( grid%em_ph_2 , (glen(3)) )
17   CALL add_msg_period_real ( grid%em_w_1 , (glen(3)) )
18   CALL add_msg_period_real ( grid%em_w_2 , (glen(3)) )
19   CALL add_msg_period_real ( grid%em_t_1 , (glen(3)) )
20   CALL add_msg_period_real ( grid%em_t_2 , (glen(3)) )
21   CALL add_msg_period_real ( grid%em_u_1 , (glen(3)) )
22   CALL add_msg_period_real ( grid%em_u_2 , (glen(3)) )
23   CALL add_msg_period_real ( grid%em_v_1 , (glen(3)) )
24   CALL add_msg_period_real ( grid%em_v_2 , (glen(3)) )
25   if ( P_qv .GT. 1 ) CALL add_msg_period_real ( moist ( grid%sm31,grid%sm32,grid%sm33,P_qv), glen(3) )
26   if ( P_qc .GT. 1 ) CALL add_msg_period_real ( moist ( grid%sm31,grid%sm32,grid%sm33,P_qc), glen(3) )
27   if ( P_qr .GT. 1 ) CALL add_msg_period_real ( moist ( grid%sm31,grid%sm32,grid%sm33,P_qr), glen(3) )
28   if ( P_qi .GT. 1 ) CALL add_msg_period_real ( moist ( grid%sm31,grid%sm32,grid%sm33,P_qi), glen(3) )
29   if ( P_qs .GT. 1 ) CALL add_msg_period_real ( moist ( grid%sm31,grid%sm32,grid%sm33,P_qs), glen(3) )
30   if ( P_qg .GT. 1 ) CALL add_msg_period_real ( moist ( grid%sm31,grid%sm32,grid%sm33,P_qg), glen(3) )
31   if ( P_qni .GT. 1 ) CALL add_msg_period_real ( scalar ( grid%sm31,grid%sm32,grid%sm33,P_qni), glen(3) )
32   if ( P_qt .GT. 1 ) CALL add_msg_period_real ( scalar ( grid%sm31,grid%sm32,grid%sm33,P_qt), glen(3) )
33   CALL period_def ( grid%domdesc , grid%comms ( PERIOD_EM_COUPLE_B ) , 3 )
34 ENDIF
35 IF ( config_flags%periodic_x ) THEN
36   CALL wrf_debug ( 50 , 'exchanging period PERIOD_EM_COUPLE_B on x' )
37   CALL rsl_exch_period ( grid%domdesc , grid%comms( PERIOD_EM_COUPLE_B ) , x_period_flag )
38 END IF
39 IF ( config_flags%periodic_y ) THEN
40   CALL wrf_debug ( 50 , 'exchanging period PERIOD_EM_COUPLE_B on y' )
41   CALL rsl_exch_period ( grid%domdesc , grid%comms( PERIOD_EM_COUPLE_B ) , y_period_flag )
42 END IF
43 !ENDOFREGISTRYGENERATEDINCLUDE