source: dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/print_control_mod.f90 @ 3983

Last change on this file since 3983 was 3831, checked in by ymipsl, 10 years ago

module reorganisation for a cleaner dyn-phys interface
YM

File size: 552 bytes
Line 
1MODULE print_control_mod
2
3
4  INTEGER,SAVE :: lunout=6 ! default output file identifier (6==screen)
5  INTEGER,SAVE :: prt_level ! Output level
6  LOGICAL,SAVE :: debug ! flag to specify if in "debug mode"
7!$OMP THREADPRIVATE(lunout,prt_level,debug)
8
9
10
11CONTAINS
12
13  SUBROUTINE set_print_control(lunout_,prt_level_,debug_)
14  IMPLICIT NONE
15    INTEGER :: lunout_
16    INTEGER :: prt_level_
17    LOGICAL :: debug_
18     
19    lunout = lunout_
20    prt_level = prt_level_
21    debug = debug_
22   
23  END SUBROUTINE set_print_control
24 
25
26END MODULE print_control_mod
Note: See TracBrowser for help on using the repository browser.