New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 4282 – NEMO

Changeset 4282


Ignore:
Timestamp:
2013-11-20T12:34:36+01:00 (10 years ago)
Author:
cbricaud
Message:

changes to make compatibility of dev_r3856_MERCATOR3_QSRMEAN24H with offline TOP/PISCES

Location:
branches/2013/dev_r3856_MERCATOR3_QSRMEAN24H/NEMOGCM/NEMO
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3856_MERCATOR3_QSRMEAN24H/NEMOGCM/NEMO/LIM_SRC_2/ice_2.F90

    r3858 r4282  
    198198   !!   Default option         Empty module        NO LIM 2.0 sea-ice model 
    199199   !!---------------------------------------------------------------------- 
     200   LOGICAL , PUBLIC::  ltrcdm2dc_ice = .FALSE.              !: In case of Diurnal Cycle short wave, compute a Daily Mean short waves flux 
    200201#endif 
    201202   !!----------------------------------------------------------------- 
  • branches/2013/dev_r3856_MERCATOR3_QSRMEAN24H/NEMOGCM/NEMO/LIM_SRC_2/iceini_2.F90

    r3625 r4282  
    7272         &     'use more ocean levels or less ice layers/categories.' ) 
    7373 
     74      ! When Diurnal cycle, core bulk and LIM2  are activated,  
     75      ! a daily mean qsr is computed for tracer/biogeochemistery model                                 ! 
     76      IF( ltrcdm2dc ) ltrcdm2dc_ice = .TRUE. 
     77 
    7478      !                                ! Open the namelist file  
    7579      CALL ctl_opn( numnam_ice, 'namelist_ice', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp )  
  • branches/2013/dev_r3856_MERCATOR3_QSRMEAN24H/NEMOGCM/NEMO/OPA_SRC/SBC/sbc_oce.F90

    r4276 r4282  
    130130         &      ssv_m  (jpi,jpj) , sss_m  (jpi,jpj), ssh_m(jpi,jpj) , STAT=ierr(4) ) 
    131131         ! 
    132          IF( ltrcdm2dc ) ALLOCATE( qsr_mean(jpi,jpj) , STAT=ierr(5) ) 
     132      IF( ltrcdm2dc ) ALLOCATE( qsr_mean(jpi,jpj) , STAT=ierr(5) ) 
    133133         ! 
    134134      sbc_oce_alloc = MAXVAL( ierr ) 
  • branches/2013/dev_r3856_MERCATOR3_QSRMEAN24H/NEMOGCM/NEMO/TOP_SRC/trcini.F90

    r4275 r4282  
    1717   !!---------------------------------------------------------------------- 
    1818   USE oce_trc         ! shared variables between ocean and passive tracers 
    19    USE ice_2           ! LIM sea-ice variables 
    2019   USE trc             ! passive tracers common variables 
    2120   USE trcrst          ! passive tracers restart 
     
    7776         CALL ctl_warn( ' Diurnal cycle on physics but not in PISCES or LOBSTER ' ) 
    7877         ltrcdm2dc     = .TRUE. 
    79          ltrcdm2dc_ice = .TRUE. 
    80       ELSE 
    81          CALL ctl_stop( ' The diurnal cycle is not compatible with PISCES ' )  
    8278      ENDIF 
    8379 
Note: See TracChangeset for help on using the changeset viewer.