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 3625 for branches/2012/dev_NOC_2012_rev3555/NEMOGCM/NEMO/LIM_SRC_3/limvar.F90 – NEMO

Ignore:
Timestamp:
2012-11-21T14:19:18+01:00 (11 years ago)
Author:
acc
Message:

Branch dev_NOC_2012_r3555. #1006. Step 7. Check in code now merged with dev_r3385_NOCS04_HAMF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_NOC_2012_rev3555/NEMOGCM/NEMO/LIM_SRC_3/limvar.F90

    r3294 r3625  
    4343   !!   lim_var_bv        : 
    4444   !!---------------------------------------------------------------------- 
    45    USE par_oce          ! ocean parameters 
    46    USE phycst           ! physical constants (ocean directory)  
    47    USE sbc_oce          ! Surface boundary condition: ocean fields 
    48    USE ice              ! LIM variables 
    49    USE par_ice          ! LIM parameters 
    50    USE dom_ice          ! LIM domain 
    51    USE thd_ice          ! LIM thermodynamics 
    52    USE in_out_manager   ! I/O manager 
    53    USE lib_mpp          ! MPP library 
    54    USE wrk_nemo         ! work arrays 
     45   USE par_oce        ! ocean parameters 
     46   USE phycst         ! physical constants (ocean directory)  
     47   USE sbc_oce        ! Surface boundary condition: ocean fields 
     48   USE ice            ! ice variables 
     49   USE par_ice        ! ice parameters 
     50   USE thd_ice        ! ice variables (thermodynamics) 
     51   USE dom_ice        ! ice domain 
     52   USE in_out_manager ! I/O manager 
     53   USE lib_mpp        ! MPP library 
     54   USE wrk_nemo       ! work arrays 
     55   USE lib_fortran    ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined)   
    5556 
    5657   IMPLICIT NONE 
     
    7374 
    7475   !!---------------------------------------------------------------------- 
    75    !! NEMO/LIM3 4.0 , UCL - NEMO Consortium (2011) 
     76   !! NEMO/LIM3 3.4 , UCL - NEMO Consortium (2011) 
    7677   !! $Id$ 
    7778   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     
    182183      END DO 
    183184 
    184       IF(  num_sal == 2  .OR.  num_sal == 4  )THEN 
     185      IF(  num_sal == 2  )THEN 
    185186         DO jl = 1, jpl 
    186187            DO jj = 1, jpj 
     
    309310      ! Vertically constant, constant in time 
    310311      !--------------------------------------- 
    311       IF( num_sal == 1 )   s_i(:,:,:,:) = bulk_sal 
     312      IF(  num_sal == 1 )   s_i(:,:,:,:) = bulk_sal 
    312313 
    313314      !----------------------------------- 
    314315      ! Salinity profile, varying in time 
    315316      !----------------------------------- 
    316  
    317       IF(   num_sal == 2  .OR.   num_sal == 4   ) THEN 
     317      IF(  num_sal == 2  ) THEN 
    318318         ! 
    319319         DO jk = 1, nlay_i 
     
    331331         dummy_fac0 = 1._wp / ( s_i_0 - s_i_1 )       ! Weighting factor between zs_zero and zs_inf 
    332332         dummy_fac1 = s_i_1 / ( s_i_1 - s_i_0 ) 
    333  
     333         ! 
    334334         zalpha(:,:,:) = 0._wp 
    335335         DO jl = 1, jpl 
     
    347347            END DO 
    348348         END DO 
    349  
     349         ! 
    350350         dummy_fac = 1._wp / nlay_i                   ! Computation of the profile 
    351351         DO jl = 1, jpl 
     
    361361            END DO ! jk 
    362362         END DO ! jl 
    363  
     363         ! 
    364364      ENDIF ! num_sal 
    365365 
     
    368368      !------------------------------------------------------- 
    369369 
    370       IF( num_sal == 3 ) THEN      ! Schwarzacher (1959) multiyear salinity profile (mean = 2.30) 
     370      IF(  num_sal == 3 ) THEN      ! Schwarzacher (1959) multiyear salinity profile (mean = 2.30) 
    371371         ! 
    372372         sm_i(:,:,:) = 2.30_wp 
     
    380380            END DO 
    381381         END DO 
    382  
     382         ! 
    383383      ENDIF ! num_sal 
    384384      ! 
     
    447447      !------------------------------------------------------ 
    448448 
    449       IF(  num_sal == 2  .OR.  num_sal == 4  ) THEN 
     449      IF(  num_sal == 2  ) THEN 
    450450         ! 
    451451         DO ji = kideb, kiut          ! Slope of the linear profile zs_zero 
Note: See TracChangeset for help on using the changeset viewer.