source: LMDZ6/branches/LMDZ-QUEST/libf/phylmd/rrtm/sufft_mod.F90 @ 3740

Last change on this file since 3740 was 1990, checked in by Laurent Fairhead, 11 years ago

Corrections à la version r1989 pour permettre la compilation avec RRTM
Inclusion de la licence CeCILL_V2 pour RRTM


Changes to revision r1989 to enable RRTM code compilation
RRTM part put under CeCILL_V2 licence

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
File size: 857 bytes
Line 
1MODULE SUFFT_MOD
2CONTAINS
3SUBROUTINE SUFFT
4
5USE PARKIND1  ,ONLY : JPIM     ,JPRB
6
7USE TPM_DIM
8USE TPM_GEN
9USE TPM_DISTR
10USE TPM_GEOMETRY
11USE TPM_FFT
12
13IMPLICIT NONE
14
15INTEGER(KIND=JPIM) :: JGL,IGLG
16LOGICAL :: LLP1,LLP2
17
18!     ------------------------------------------------------------------
19
20LLP1 = NPRINTLEV>0
21LLP2 = NPRINTLEV>1
22IF(LLP1) WRITE(NOUT,*) '=== ENTER ROUTINE SUFFT ==='
23
24ALLOCATE(T%TRIGS(R%NDLON,D%NDGL_FS))
25IF(LLP2)WRITE(NOUT,9) 'T%TRIGS    ',SIZE(T%TRIGS),SHAPE(T%TRIGS)
26ALLOCATE(T%NFAX(19,D%NDGL_FS))
27IF(LLP2)WRITE(NOUT,9) 'T%NFAX     ',SIZE(T%NFAX),SHAPE(T%NFAX)
28
29DO JGL=1,D%NDGL_FS
30  IGLG = D%NPTRLS(MYSETW)+JGL-1
31  CALL SET99(T%TRIGS(1,JGL),T%NFAX(1,JGL),G%NLOEN(IGLG))
32ENDDO
33
34!     ------------------------------------------------------------------
35
369 FORMAT(1X,'ARRAY ',A10,' ALLOCATED ',8I8)
37
38END SUBROUTINE SUFFT
39END MODULE SUFFT_MOD
Note: See TracBrowser for help on using the repository browser.