source: LMDZ5/trunk/libf/phylmd/init_phys_lmdz.F90 @ 2347

Last change on this file since 2347 was 2320, checked in by Ehouarn Millour, 9 years ago

Physics/dynamics separation: make an infotrac_phy module, which should be used from within the physics, and is initialized from infotrac (dynamics) via iniphysiq.
EM

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 872 bytes
Line 
1!
2!$Header$
3!
4SUBROUTINE Init_Phys_lmdz(iim,jjp1,llm,nb_proc,distrib)
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
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.