Ignore:
Timestamp:
May 27, 2010, 8:51:35 AM (14 years ago)
Author:
Ehouarn Millour
Message:

Some minor fixes for the Newtonian and Shallow Water cases:
-Some initializations were done twice, causing problems with the FFT filter.
-Some CPP_EARTH preprocessing keys should in fact be CPP_IOIPSL.

Also added some useful debugging options to 'debug' mode in arch-PW6_VARGAS.fcm

EM

Location:
LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3d
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3d/fluxstokenc.F

    r1299 r1393  
    44      SUBROUTINE fluxstokenc(pbaru,pbarv,masse,teta,phi,phis,
    55     . time_step,itau )
    6 #ifdef CPP_EARTH
    7 ! This routine is designed to work for Earth and with ioipsl
     6#ifdef CPP_IOIPSL
     7! This routine is designed to work with ioipsl
    88
    99       USE IOIPSL
     
    141141
    142142         iadvtr=0
    143         Print*,'ITAU auqel on stoke les fluxmasses',itau
     143        write(lunout,*)'ITAU auquel on stoke les fluxmasses',itau
    144144       
    145145        call histwrite(fluxid, 'masse', itau, massem,
     
    167167#else
    168168      write(lunout,*)
    169      & 'fluxstokenc: Needs Earth physics (and ioipsl) to function'
     169     & 'fluxstokenc: Needs IOIPSL to function'
    170170#endif
    171 ! of #ifdef CPP_EARTH
     171! of #ifdef CPP_IOIPSL
    172172      RETURN
    173173      END
  • LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3d/gcm.F

    r1380 r1393  
    386386      nbetatmoy = nday / periodav + 1
    387387
     388      if (iflag_phys.eq.1) then
     389      ! these initialisations have already been done (via iniacademic)
     390      ! if running in SW or Newtonian mode
    388391c-----------------------------------------------------------------------
    389392c   Initialisation des constantes dynamiques :
    390393c   ------------------------------------------
    391       dtvr = zdtvr
    392       CALL iniconst
     394        dtvr = zdtvr
     395        CALL iniconst
    393396
    394397c-----------------------------------------------------------------------
    395398c   Initialisation de la geometrie :
    396399c   --------------------------------
    397       CALL inigeom
     400        CALL inigeom
    398401
    399402c-----------------------------------------------------------------------
    400403c   Initialisation du filtre :
    401404c   --------------------------
    402       CALL inifilr
     405        CALL inifilr
     406      endif ! of if (iflag_phys.eq.1)
    403407c
    404408c-----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.