LMDZ
mod_interface_dyn_phys.F90
Go to the documentation of this file.
1 !
2 ! $Id: mod_interface_dyn_phys.F90 2351 2015-08-25 15:14:59Z emillour $
3 !
5  INTEGER,SAVE,dimension(:),allocatable :: index_i
6  INTEGER,SAVE,dimension(:),allocatable :: index_j
7 
8 
9 CONTAINS
10 
11 #ifdef CPP_PARA
12 ! Interface with parallel physics,
13  SUBROUTINE init_interface_dyn_phys
15  IMPLICIT NONE
16  include 'dimensions.h'
17 
18  INTEGER :: i,j,k
19 
20  ALLOCATE(index_i(klon_mpi))
21  ALLOCATE(index_j(klon_mpi))
22 
23  k=1
24  IF (is_north_pole) THEN
25  index_i(k)=1
26  index_j(k)=1
27  k=2
28  ELSE
29  DO i=ii_begin,iim
30  index_i(k)=i
32  k=k+1
33  ENDDO
34  ENDIF
35 
36  DO j=jj_begin+1,jj_end-1
37  DO i=1,iim
38  index_i(k)=i
39  index_j(k)=j
40  k=k+1
41  ENDDO
42  ENDDO
43 
44  IF (is_south_pole) THEN
45  index_i(k)=1
47  ELSE
48  DO i=1,ii_end
49  index_i(k)=i
51  k=k+1
52  ENDDO
53  ENDIF
54 
55  END SUBROUTINE init_interface_dyn_phys
56 #else
57  SUBROUTINE init_interface_dyn_phys
58  ! dummy routine for seq case
59  END SUBROUTINE init_interface_dyn_phys
60 #endif
61 ! of #ifdef CPP_PARA
62 END MODULE mod_interface_dyn_phys
integer, dimension(:), allocatable, save index_i
integer, dimension(:), allocatable, save index_j
c c $Id c c calculs statistiques distribution nuage ftion du regime dynamique c c Ce calcul doit etre fait a partir de valeurs mensuelles CALL nbregdyn DO k
Definition: calcul_REGDYN.h:12
!$Id klon initialisation mois suivants day_rain itap ENDIF!Calcul fin de nday_rain calcul nday_rain itap DO i
Definition: calcul_divers.h:24
!$Id Turb_fcg!implicit none!ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc!cette routine permet d obtenir hq et ainsi de!pouvoir calculer la convergence et le cisaillement dans la physiq!cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc INTEGER klev REAL j
Definition: 1Dconv.h:27
c c zjulian c cym CALL iim cym klev iim
Definition: ini_bilKP_ave.h:24