Ignore:
Timestamp:
Mar 25, 2015, 6:24:15 PM (10 years ago)
Author:
lguez
Message:

We want to keep the same "*.def" files with programs ce0l and gcm. But
there is only a sequential version of program ce0l, which has not the
FFT filter. So we have to ignore the setting of use_filtre_fft in
program ce0l. Moved the test on use_filtre_fft from procedure conf_gcm
to main units ce0l and gcm.

Location:
LMDZ5/trunk/libf/dynlmdz_phylmd
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dynlmdz_phylmd/ce0l.F90

    r2239 r2247  
    2323
    2424#ifdef CPP_IOIPSL
    25   USE ioipsl, ONLY: ioconf_calendar
     25  USE ioipsl, ONLY: ioconf_calendar, getin
     26#else
     27  ! if not using IOIPSL, we still need to use (a local version of) getin
     28  use ioipsl_getincom, only: getin
    2629#endif
    2730
     
    4447  CHARACTER(LEN=15)             :: calnd
    4548  REAL,    DIMENSION(iip1,jjp1) :: phis ! geopotentiel au sol
     49  logical use_filtre_fft
    4650!-------------------------------------------------------------------------------
    4751  CALL conf_gcm( 99, .TRUE. )
     52
     53  use_filtre_fft=.FALSE.
     54  CALL getin('use_filtre_fft',use_filtre_fft)
     55  IF (use_filtre_fft) THEN
     56     write(lunout, fmt = *) 'FFT filter is not available in the ' &
     57          // 'sequential version of the dynamics.'
     58     write(lunout, fmt = *) &
     59          "Your setting of variable use_filtre_fft is not used."
     60  ENDIF
    4861
    4962  CALL Init_Phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/))
Note: See TracChangeset for help on using the changeset viewer.