LMDZ
gradiv2_mod.F90
Go to the documentation of this file.
1 MODULE gradiv2_mod
2 
3  REAL,POINTER,SAVE :: gdx( :,: )
4  REAL,POINTER,SAVE :: gdy( :,: )
5  REAL,POINTER,SAVE :: div( :,: )
6 
7 CONTAINS
8 
9  SUBROUTINE gradiv2_allocate
10  USE bands
12  USE parallel_lmdz
13  USE dimensions_mod
14  IMPLICIT NONE
15  TYPE(distrib),POINTER :: d
17 
18  CALL allocate_u(gdx,llm,d)
19  CALL allocate_v(gdy,llm,d)
20  CALL allocate_u(div,llm,d)
21 
22 
23  END SUBROUTINE gradiv2_allocate
24 
25  SUBROUTINE gradiv2_switch_dissip(dist)
27  USE bands
28  USE parallel_lmdz
29  IMPLICIT NONE
30  TYPE(distrib),INTENT(IN) :: dist
31 
32  CALL switch_u(gdx,distrib_dissip,dist)
33  CALL switch_v(gdy,distrib_dissip,dist)
34  CALL switch_u(div,distrib_dissip,dist)
35 
36 
37  END SUBROUTINE gradiv2_switch_dissip
38 
39 END MODULE gradiv2_mod
Definition: bands.F90:4
type(distrib), target, save distrib_dissip
Definition: bands.F90:20
!$Id Turb_fcg_gcssold get_uvd hqturb_gcssold endif!large scale llm day day1 day day1 *dt_toga endif!time annee_ref dt_toga u_toga vq_toga w_prof vq_prof llm day day1 day day1 *dt_dice endif!time annee_ref dt_dice swup_dice vg_dice omega_dice tg_prof vg_profd w_profd omega_profd!do llm!print llm l llm
real, dimension(:,:), pointer, save gdy
Definition: gradiv2_mod.F90:4
real, dimension(:,:), pointer, save gdx
Definition: gradiv2_mod.F90:3
subroutine gradiv2_allocate
Definition: gradiv2_mod.F90:10
real, dimension(:,:), pointer, save div
Definition: gradiv2_mod.F90:5
subroutine gradiv2_switch_dissip(dist)
Definition: gradiv2_mod.F90:26