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 6134 – NEMO

Changeset 6134


Ignore:
Timestamp:
2015-12-18T16:01:55+01:00 (8 years ago)
Author:
lovato
Message:

Add changes proposed in ticket #1252 and #1645 (related to runoff data sharing)

Location:
branches/2015/dev_merge_2015/NEMOGCM
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_merge_2015/NEMOGCM/CONFIG/SHARED/namelist_top_ref

    r6108 r6134  
    132132$namtrc_bdy 
    133133   cn_trc_dflt     =  'neumann'    !  OBC applied by default to all tracers 
    134    cn_trc          =  'none'       !  Boundary conditions appled to the active tracers (see namtrc) 
     134   cn_trc          =  'none'       !  Boundary conditions used for tracers with data files (selected in namtrc) 
    135135 
    136136   nn_trcdmp_bdy   = 0     !  Use damping timescales defined in nambdy of namelist 
  • branches/2015/dev_merge_2015/NEMOGCM/NEMO/OFF_SRC/dtadyn.F90

    r6069 r6134  
    358358                jf_rnf = jfld + 1  ;  jfld  = jf_rnf 
    359359         slf_d(jf_rnf) = sn_rnf 
     360         ! Activate runoff key of sbc_oce 
     361         ln_rnf = .true. 
     362         WRITE(numout,*) 'dta_dyn : Activate the runoff data structure from ocean core ( force ln_rnf = .true.) ' 
     363         WRITE(numout,*) 
    360364      ELSE 
    361365         rnf (:,:) = 0._wp 
  • branches/2015/dev_merge_2015/NEMOGCM/NEMO/OFF_SRC/nemogcm.F90

    r6069 r6134  
    5252   USE trcrst 
    5353   USE diaptr         ! Need to initialise this as some variables are used in if statements later 
     54   USE sbc_oce, ONLY: ln_rnf 
     55   USE sbcrnf 
    5456 
    5557   IMPLICIT NONE 
     
    9496      !                            !-----------------------! 
    9597      istp = nit000 
     98      ! 
     99      ! Initialize arrays of runoffs structures and read data from the namelist 
     100      IF ( ln_rnf ) CALL sbc_rnf(istp) 
    96101      !  
    97102      CALL iom_init( cxios_context )            ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 
  • branches/2015/dev_merge_2015/NEMOGCM/NEMO/OPA_SRC/ASM/asminc.F90

    r6108 r6134  
    634634               &                                  rhd, gru , grv , grui, grvi     )    ! of t, s, rd at the last ocean level 
    635635 
    636 #if defined key_zdfkpp 
    637             CALL eos( tsn, rhd, fsdept_n(:,:,:) )                      ! Compute rhd 
    638 !!gm fabien            CALL eos( tsn, rhd )                      ! Compute rhd 
    639 #endif 
    640  
    641636            DEALLOCATE( t_bkginc ) 
    642637            DEALLOCATE( s_bkginc ) 
  • branches/2015/dev_merge_2015/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90

    r6129 r6134  
    967967 
    968968      IF(  .NOT.ln_linssh  ) THEN              
    969          CALL histwrite( id_i, "vovvldep", kt, fsdept_n(:,:,:), jpi*jpj*jpk, idex )!  T-cell depth  
    970          CALL histwrite( id_i, "vovvle3t", kt, fse3t_n (:,:,:), jpi*jpj*jpk, idex )!  T-cell thickness   
     969         CALL histwrite( id_i, "vovvldep", kt, gdept_n(:,:,:), jpi*jpj*jpk, idex )!  T-cell depth  
     970         CALL histwrite( id_i, "vovvle3t", kt, e3t_n (:,:,:) , jpi*jpj*jpk, idex )!  T-cell thickness   
    971971      END IF  
    972972      ! 3. Close the file 
  • branches/2015/dev_merge_2015/NEMOGCM/NEMO/OPA_SRC/SBC/sbcrnf.F90

    r6127 r6134  
    5454   REAL(wp)                   ::   rn_hrnf           !: runoffs, depth over which enhanced vertical mixing is used 
    5555   REAL(wp)          , PUBLIC ::   rn_avt_rnf        !: runoffs, value of the additional vertical mixing coef. [m2/s] 
    56    REAL(wp)                  ::   rn_rfact          !: multiplicative factor for runoff 
     56   REAL(wp)          , PUBLIC ::   rn_rfact          !: multiplicative factor for runoff 
    5757 
    5858   LOGICAL , PUBLIC ::   l_rnfcpl = .false.   !: runoffs recieved from oasis 
Note: See TracChangeset for help on using the changeset viewer.