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 8563 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90 – NEMO

Ignore:
Timestamp:
2017-09-26T15:24:17+02:00 (7 years ago)
Author:
clem
Message:

change variable names (ht_s => h_s & ht_i => h_i)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r8422 r8563  
    19981998            ! we must send the surface potential temperature  
    19991999            IF( l_useCT )  THEN    ;   ztmp1(:,:) = eos_pt_from_ct( tsn(:,:,1,jp_tem), tsn(:,:,1,jp_sal) ) 
    2000             ELSE                    ;   ztmp1(:,:) = tsn(:,:,1,jp_tem) 
     2000            ELSE                   ;   ztmp1(:,:) = tsn(:,:,1,jp_tem) 
    20012001            ENDIF 
    20022002            ! 
     
    21112111            SELECT CASE( sn_snd_thick%clcat ) 
    21122112            CASE( 'yes' )    
    2113                ztmp3(:,:,1:jpl) =  ht_i(:,:,1:jpl) * a_i(:,:,1:jpl) 
    2114                ztmp4(:,:,1:jpl) =  ht_s(:,:,1:jpl) * a_i(:,:,1:jpl) 
     2113               ztmp3(:,:,1:jpl) =  h_i(:,:,1:jpl) * a_i(:,:,1:jpl) 
     2114               ztmp4(:,:,1:jpl) =  h_s(:,:,1:jpl) * a_i(:,:,1:jpl) 
    21152115            CASE( 'no' ) 
    21162116               ztmp3(:,:,:) = 0.0   ;  ztmp4(:,:,:) = 0.0 
    21172117               DO jl=1,jpl 
    2118                   ztmp3(:,:,1) = ztmp3(:,:,1) + ht_i(:,:,jl) * a_i(:,:,jl) 
    2119                   ztmp4(:,:,1) = ztmp4(:,:,1) + ht_s(:,:,jl) * a_i(:,:,jl) 
     2118                  ztmp3(:,:,1) = ztmp3(:,:,1) + h_i(:,:,jl) * a_i(:,:,jl) 
     2119                  ztmp4(:,:,1) = ztmp4(:,:,1) + h_s(:,:,jl) * a_i(:,:,jl) 
    21202120               ENDDO 
    21212121            CASE default                  ;   CALL ctl_stop( 'sbc_cpl_snd: wrong definition of sn_snd_thick%clcat' ) 
     
    21242124            SELECT CASE( sn_snd_thick%clcat ) 
    21252125            CASE( 'yes' ) 
    2126                ztmp3(:,:,1:jpl) = ht_i(:,:,1:jpl) 
    2127                ztmp4(:,:,1:jpl) = ht_s(:,:,1:jpl) 
     2126               ztmp3(:,:,1:jpl) = h_i(:,:,1:jpl) 
     2127               ztmp4(:,:,1:jpl) = h_s(:,:,1:jpl) 
    21282128            CASE( 'no' ) 
    21292129               WHERE( SUM( a_i, dim=3 ) /= 0. ) 
    2130                   ztmp3(:,:,1) = SUM( ht_i * a_i, dim=3 ) / SUM( a_i, dim=3 ) 
    2131                   ztmp4(:,:,1) = SUM( ht_s * a_i, dim=3 ) / SUM( a_i, dim=3 ) 
     2130                  ztmp3(:,:,1) = SUM( h_i * a_i, dim=3 ) / SUM( a_i, dim=3 ) 
     2131                  ztmp4(:,:,1) = SUM( h_s * a_i, dim=3 ) / SUM( a_i, dim=3 ) 
    21322132               ELSEWHERE 
    21332133                 ztmp3(:,:,1) = 0. 
Note: See TracChangeset for help on using the changeset viewer.