source: dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/init_phys_lmdz.F90 @ 3814

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

remove all dynamic dependency in LMDZ physics except for the include "dimensions.h"

YM

File size: 937 bytes
Line 
1!
2!$Header$
3!
4SUBROUTINE Init_Phys_lmdz(iim,jjp1,llm,nb_proc,distrib,communicator)
5  USE mod_phys_lmdz_para, ONLY: Init_phys_lmdz_para, klon_omp
6  USE mod_grid_phy_lmdz, ONLY: Init_grid_phy_lmdz, nbp_lev
7  USE dimphy, ONLY : Init_dimphy
8  USE infotrac_phy, 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    INTEGER,INTENT(in) :: communicator
21
22
23    CALL Init_grid_phy_lmdz(iim,jjp1,llm)
24    CALL Init_phys_lmdz_para(iim,jjp1,nb_proc,distrib,communicator)
25!$OMP PARALLEL
26    CALL Init_dimphy(klon_omp,nbp_lev)
27
28! Initialization of Reprobus
29    IF (type_trac == 'repr') THEN
30#ifdef REPROBUS
31       CALL Init_chem_rep_phys(klon_omp,nbp_lev)
32#endif
33    END IF
34
35!$OMP END PARALLEL
36 
37END SUBROUTINE Init_Phys_lmdz 
Note: See TracBrowser for help on using the repository browser.