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 5845 for branches/2015/dev_r5836_NOC3_vvl_by_default/NEMOGCM/NEMO/OPA_SRC/SBC/sbcssm.F90 – NEMO

Ignore:
Timestamp:
2015-10-31T08:40:45+01:00 (8 years ago)
Author:
gm
Message:

#1613: vvl by default: suppression of domzgr_substitute.h90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5836_NOC3_vvl_by_default/NEMOGCM/NEMO/OPA_SRC/SBC/sbcssm.F90

    r5407 r5845  
    2828   PUBLIC   sbc_ssm_init    ! routine called by sbcmod.F90 
    2929 
    30    LOGICAL, SAVE  ::   l_ssm_mean = .FALSE.       ! keep track of whether means have been read 
    31                                                   ! from restart file 
     30   LOGICAL, SAVE  ::   l_ssm_mean = .FALSE.       ! keep track of whether means have been read from restart file 
    3231    
    33    !! * Substitutions 
    34 #  include "domzgr_substitute.h90" 
    3532   !!---------------------------------------------------------------------- 
    3633   !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
     
    8178         ENDIF 
    8279         ! 
    83          IF( lk_vvl )   e3t_m(:,:) = fse3t_n(:,:,1) 
     80         IF( lk_vvl )   e3t_m(:,:) = e3t_n(:,:,1) 
    8481         ! 
    8582         frq_m(:,:) = fraqsr_1lev(:,:) 
     
    103100            ENDIF 
    104101            ! 
    105             IF( lk_vvl )   e3t_m(:,:) = zcoef * fse3t_n(:,:,1) 
     102            IF( lk_vvl )   e3t_m(:,:) = zcoef * e3t_n(:,:,1) 
    106103            ! 
    107104            frq_m(:,:) = zcoef * fraqsr_1lev(:,:) 
     
    131128         ENDIF 
    132129         ! 
    133          IF( lk_vvl )   e3t_m(:,:) = fse3t_m(:,:) + fse3t_n(:,:,1) 
     130         IF( lk_vvl )   e3t_m(:,:) = e3t_m(:,:) + e3t_n(:,:,1) 
    134131         ! 
    135132         frq_m(:,:) =   frq_m(:,:) + fraqsr_1lev(:,:) 
     
    144141            ssv_m(:,:) = ssv_m(:,:) * zcoef           ! 
    145142            ssh_m(:,:) = ssh_m(:,:) * zcoef           ! mean SSH             [m] 
    146             IF( lk_vvl )   e3t_m(:,:) = fse3t_m(:,:) * zcoef   ! mean vertical scale factor [m] 
     143            IF( lk_vvl )   e3t_m(:,:) = e3t_m(:,:) * zcoef   ! mean vertical scale factor [m] 
    147144            frq_m(:,:) = frq_m(:,:) * zcoef   ! mean fraction of solar net radiation absorbed in the 1st T level [-] 
    148145            ! 
     
    229226               sss_m(:,:) = zcoef * sss_m(:,:) 
    230227               ssh_m(:,:) = zcoef * ssh_m(:,:) 
    231                IF( lk_vvl )   e3t_m(:,:) = zcoef * fse3t_m(:,:) 
     228               IF( lk_vvl )   e3t_m(:,:) = zcoef * e3t_m(:,:) 
    232229               frq_m(:,:) = zcoef * frq_m(:,:) 
    233230            ELSE 
     
    247244         sss_m(:,:) = tsn(:,:,1,jp_sal) 
    248245         ssh_m(:,:) = sshn(:,:) 
    249          IF( lk_vvl )   e3t_m(:,:) = fse3t_n(:,:,1) 
     246         IF( lk_vvl )   e3t_m(:,:) = e3t_n(:,:,1) 
    250247         frq_m(:,:) = 1._wp 
    251248         ! 
Note: See TracChangeset for help on using the changeset viewer.