LMDZ
tpm_dim.F90
Go to the documentation of this file.
1 MODULE tpm_dim
2 
3 USE parkind1 ,ONLY : jpim ,jprb
4 
5 IMPLICIT NONE
6 
7 SAVE
8 
9 TYPE dim_type
10 ! SPECTRAL SPACE DIMENSIONS
11 
12  INTEGER(KIND=JPIM) :: nsmax ! Truncation order
13  INTEGER(KIND=JPIM) :: ntmax
14  INTEGER(KIND=JPIM) :: nspoleg ! Number of Legandre polynomials
15  INTEGER(KIND=JPIM) :: nspec_g ! Number of complex spectral coefficients (global)
16  INTEGER(KIND=JPIM) :: nspec2_g ! 2*NSPEC_G
17 
18 ! COLLOCATION GRID DIMENSIONS
19 
20  INTEGER(KIND=JPIM) :: ndgl ! Number of rows of latitudes
21  INTEGER(KIND=JPIM) :: ndlon ! Maximum number of longitude points (near equator)
22  INTEGER(KIND=JPIM) :: ndgnh ! Number of rows in northern hemisphere
23 
24 ! Legendre transform dimensions
25  INTEGER(KIND=JPIM) :: nlei1 ! R%NSMAX+4+MOD(R%NSMAX+4+1,2)
26  INTEGER(KIND=JPIM) :: nlei3 ! R%NDGNH+MOD(R%NDGNH+2,2)
27  INTEGER(KIND=JPIM) :: nled3 ! R%NTMAX+2+MOD(R%NTMAX+3,2)
28  INTEGER(KIND=JPIM) :: nled4 ! R%NTMAX+3+MOD(R%NTMAX+4,2)
29 END TYPE dim_type
30 
31 TYPE(dim_type),ALLOCATABLE,TARGET :: dim_resol(:)
32 TYPE(dim_type),POINTER :: r
33 
34 !$OMP THREADPRIVATE(r)
35 !$OMP THREADPRIVATE(dim_resol)
36 
37 
38 END MODULE tpm_dim
!$Id mode_top_bound COMMON comconstr r
Definition: comconst.h:7
integer, parameter jprb
Definition: parkind1.F90:31
type(dim_type), dimension(:), allocatable, target dim_resol
Definition: tpm_dim.F90:31
integer, parameter jpim
Definition: parkind1.F90:13