source: trunk/LMDZ.UNIVERSAL/libf/phygeneric/init_phys_lmdz.F90 @ 958

Last change on this file since 958 was 844, checked in by aslmd, 12 years ago

LMDZ.GENERIC. Added a new folder for the interface with LMDZ.COMMON and LMDZ5

File size: 796 bytes
Line 
1!
2!$Header$
3!
4SUBROUTINE Init_Phys_lmdz(iim,jjp1,llm,nb_proc,distrib)
5  USE mod_phys_lmdz_para
6  USE mod_grid_phy_lmdz
7  USE dimphy, ONLY : Init_dimphy
8  USE infotrac, ONLY : type_trac
9#ifdef REPROBUS
10  USE CHEM_REP, ONLY : Init_chem_rep_phys
11#endif
12
13  IMPLICIT NONE
14 
15    INTEGER,INTENT(in) :: iim
16    INTEGER,INTENT(in) :: jjp1
17    INTEGER,INTENT(in) :: llm
18    INTEGER,INTENT(in) :: nb_proc
19    INTEGER,INTENT(in) :: distrib(0:nb_proc-1)
20
21
22    CALL Init_grid_phy_lmdz(iim,jjp1,llm)
23    CALL Init_phys_lmdz_para(iim,jjp1,nb_proc,distrib)
24!$OMP PARALLEL
25    CALL Init_dimphy(klon_omp,nbp_lev)
26
27! Initialization of Reprobus
28    IF (type_trac == 'repr') THEN
29#ifdef REPROBUS
30       CALL Init_chem_rep_phys(klon_omp,nbp_lev)
31#endif
32    END IF
33
34!$OMP END PARALLEL
35 
36END SUBROUTINE Init_Phys_lmdz 
Note: See TracBrowser for help on using the repository browser.