source: LMDZ5/branches/LF-private/libf/phylmd/init_phys_lmdz.F90 @ 5405

Last change on this file since 5405 was 1565, checked in by jghattas, 13 years ago

Added interface with chemestry model REPROBUS :

  • Compile LMDZ together with Reprobus code (dependecies in both directions) and cpp key REPROBUS :

./makelmdz_fcm -ext_src my_path_to_reprobus -cpp REPROBUS ...

  • For running, add type_trac=repr in run.def.

/Marion Marchand, JG

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
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.