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 4147 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/SBC/sbcana.F90 – NEMO

Ignore:
Timestamp:
2013-11-04T12:51:55+01:00 (10 years ago)
Author:
cetlod
Message:

merge in dev_LOCEAN_2013, the 1st development branch dev_r3853_CNRS9_Confsetting, from its starting point ( r3853 ) on the trunk: see ticket #1169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/SBC/sbcana.F90

    r3625 r4147  
    2727   PUBLIC   sbc_gyre   ! routine called in sbcmod module 
    2828 
    29    !                                !!* Namelist namsbc_ana * 
    30    INTEGER  ::   nn_tau000 = 1      ! nb of time-step during which the surface stress 
    31    !                                 ! increase from 0 to its nominal value  
    32    REAL(wp) ::   rn_utau0  = 0._wp  ! constant wind stress value in i-direction 
    33    REAL(wp) ::   rn_vtau0  = 0._wp  ! constant wind stress value in j-direction 
    34    REAL(wp) ::   rn_qns0   = 0._wp  ! non solar heat flux 
    35    REAL(wp) ::   rn_qsr0   = 0._wp  !     solar heat flux 
    36    REAL(wp) ::   rn_emp0   = 0._wp  ! net freshwater flux 
     29   !                       !!* Namelist namsbc_ana * 
     30   INTEGER  ::   nn_tau000 ! nb of time-step during which the surface stress 
     31   !                        ! increase from 0 to its nominal value  
     32   REAL(wp) ::   rn_utau0  ! constant wind stress value in i-direction 
     33   REAL(wp) ::   rn_vtau0  ! constant wind stress value in j-direction 
     34   REAL(wp) ::   rn_qns0    ! non solar heat flux 
     35   REAL(wp) ::   rn_qsr0    !     solar heat flux 
     36   REAL(wp) ::   rn_emp0    ! net freshwater flux 
    3737    
    3838   !! * Substitutions 
     
    6464      INTEGER, INTENT(in) ::   kt       ! ocean time step 
    6565      ! 
     66      INTEGER  ::   ios                   ! Local integer output status for namelist read 
    6667      REAL(wp) ::   zfacto                ! local scalar 
    6768      REAL(wp) ::   zrhoa  = 1.22_wp      ! Air density kg/m3 
     
    7475      IF( kt == nit000 ) THEN 
    7576         ! 
    76          REWIND( numnam )                    ! Read Namelist namsbc : surface fluxes 
    77          READ  ( numnam, namsbc_ana ) 
     77         REWIND( numnam_ref )              ! Namelist namsbc_ana in reference namelist : Analytical surface fluxes 
     78         READ  ( numnam_ref, namsbc_ana, IOSTAT = ios, ERR = 901) 
     79901      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_ana in reference namelist', lwp ) 
     80 
     81         REWIND( numnam_cfg )              ! Namelist namsbc_ana in configuration namelist : Analytical surface fluxes 
     82         READ  ( numnam_cfg, namsbc_ana, IOSTAT = ios, ERR = 902 ) 
     83902      IF( ios /= 0 ) CALL ctl_nam ( ios , 'namsbc_ana in configuration namelist', lwp ) 
     84         WRITE ( numond, namsbc_ana ) 
    7885         ! 
    7986         IF(lwp) WRITE(numout,*)' ' 
Note: See TracChangeset for help on using the changeset viewer.