source: trunk/LMDZ.VENUS/libf/phyvenus/dimphy.F90 @ 894

Last change on this file since 894 was 892, checked in by slebonnois, 12 years ago

SL: Important commit ! Adaptation of Venus physics to parallel computation / template for arch on the LMD servers using ifort / documentation for 1D column physics and for parallel computations

File size: 575 bytes
Line 
1MODULE dimphy
2 
3  INTEGER,SAVE :: klon
4  INTEGER,SAVE :: kdlon
5  INTEGER,SAVE :: kfdia
6  INTEGER,SAVE :: kidia
7  INTEGER,SAVE :: klev
8  INTEGER,SAVE :: klevp1
9  INTEGER,SAVE :: klevm1
10
11!$OMP THREADPRIVATE(klon,kfdia,kidia,kdlon)
12
13CONTAINS
14 
15  SUBROUTINE init_dimphy(klon0,klev0)
16  IMPLICIT NONE
17 
18    INTEGER, INTENT(in) :: klon0
19    INTEGER, INTENT(in) :: klev0
20   
21    klon=klon0
22   
23    kdlon=klon
24    kidia=1
25    kfdia=klon
26!$OMP MASTER
27    klev=klev0
28    klevp1=klev+1
29    klevm1=klev-1
30!$OMP END MASTER   
31   
32  END SUBROUTINE init_dimphy
33
34 
35END MODULE dimphy
Note: See TracBrowser for help on using the repository browser.