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

Ignore:
Timestamp:
2012-10-26T12:13:21+02:00 (12 years ago)
Author:
gm
Message:

gm: Branch: dev_r3385_NOCS04_HAMF; #665. update sbccpl ; change LIM3 from equivalent salt flux to salt flux and mass flux

File:
1 edited

Legend:

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

    r3294 r3517  
    182182      END DO 
    183183 
    184       IF(  num_sal == 2  .OR.  num_sal == 4  )THEN 
     184      IF(  num_sal == 2  )THEN 
    185185         DO jl = 1, jpl 
    186186            DO jj = 1, jpj 
     
    309309      ! Vertically constant, constant in time 
    310310      !--------------------------------------- 
    311       IF( num_sal == 1 )   s_i(:,:,:,:) = bulk_sal 
     311      IF(  num_sal == 1 )   s_i(:,:,:,:) = bulk_sal 
    312312 
    313313      !----------------------------------- 
    314314      ! Salinity profile, varying in time 
    315315      !----------------------------------- 
    316  
    317       IF(   num_sal == 2  .OR.   num_sal == 4   ) THEN 
     316      IF(  num_sal == 2  ) THEN 
    318317         ! 
    319318         DO jk = 1, nlay_i 
     
    331330         dummy_fac0 = 1._wp / ( s_i_0 - s_i_1 )       ! Weighting factor between zs_zero and zs_inf 
    332331         dummy_fac1 = s_i_1 / ( s_i_1 - s_i_0 ) 
    333  
     332         ! 
    334333         zalpha(:,:,:) = 0._wp 
    335334         DO jl = 1, jpl 
     
    347346            END DO 
    348347         END DO 
    349  
     348         ! 
    350349         dummy_fac = 1._wp / nlay_i                   ! Computation of the profile 
    351350         DO jl = 1, jpl 
     
    361360            END DO ! jk 
    362361         END DO ! jl 
    363  
     362         ! 
    364363      ENDIF ! num_sal 
    365364 
     
    368367      !------------------------------------------------------- 
    369368 
    370       IF( num_sal == 3 ) THEN      ! Schwarzacher (1959) multiyear salinity profile (mean = 2.30) 
     369      IF(  num_sal == 3 ) THEN      ! Schwarzacher (1959) multiyear salinity profile (mean = 2.30) 
    371370         ! 
    372371         sm_i(:,:,:) = 2.30_wp 
     
    380379            END DO 
    381380         END DO 
    382  
     381         ! 
    383382      ENDIF ! num_sal 
    384383      ! 
     
    447446      !------------------------------------------------------ 
    448447 
    449       IF(  num_sal == 2  .OR.  num_sal == 4  ) THEN 
     448      IF(  num_sal == 2  ) THEN 
    450449         ! 
    451450         DO ji = kideb, kiut          ! Slope of the linear profile zs_zero 
Note: See TracChangeset for help on using the changeset viewer.