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 7037 for branches/2016/dev_r6519_HPC_4/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim_2.F90 – NEMO

Ignore:
Timestamp:
2016-10-18T15:32:04+02:00 (8 years ago)
Author:
mocavero
Message:

ORCA2_LIM_PISCES hybrid version update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6519_HPC_4/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim_2.F90

    r6140 r7037  
    131131         SELECT CASE( cp_ice_msh ) 
    132132         CASE( 'I' )                  !== B-grid ice dynamics :   I-point (i.e. F-point with sea-ice indexation) 
     133!$OMP PARALLEL DO schedule(static) private(jj, ji) 
    133134            DO jj = 2, jpj 
    134135               DO ji = 2, jpi   ! NO vector opt. possible 
     
    143144            ! 
    144145         CASE( 'C' )                  !== C-grid ice dynamics :   U & V-points (same as ocean) 
     146!$OMP PARALLEL WORKSHARE 
    145147            u_oce(:,:) = ssu_m(:,:) * umask(:,:,1)                     ! mean surface ocean current at ice velocity point 
    146148            v_oce(:,:) = ssv_m(:,:) * vmask(:,:,1) 
     149!$OMP END PARALLEL WORKSHARE 
    147150            ! 
    148151         END SELECT 
     
    150153         ! ... masked sea surface freezing temperature [Kelvin] (set to rt0 over land) 
    151154         CALL eos_fzp( sss_m(:,:), tfu(:,:) ) 
     155!$OMP PARALLEL WORKSHARE 
    152156         tfu(:,:) = tfu(:,:) + rt0 
    153157 
    154158         zsist (:,:,1) = sist (:,:) + rt0 * ( 1. - tmask(:,:,1) ) 
     159!$OMP END PARALLEL WORKSHARE 
    155160 
    156161         ! Ice albedo 
     
    164169 
    165170            ! albedo depends on cloud fraction because of non-linear spectral effects 
     171!$OMP PARALLEL WORKSHARE 
    166172            zalb_ice(:,:,:) = ( 1. - cldf_ice ) * zalb_cs(:,:,:) + cldf_ice * zalb_os(:,:,:) 
     173!$OMP END PARALLEL WORKSHARE 
    167174            ! In CLIO the cloud fraction is read in the climatology and the all-sky albedo  
    168175            ! (zalb_ice) is computed within the bulk routine 
     
    203210         IF( ln_mixcpl) THEN 
    204211            CALL sbc_cpl_ice_tau( zutau_ice , zvtau_ice ) 
     212!$OMP PARALLEL WORKSHARE 
    205213            utau_ice(:,:) = utau_ice(:,:) * xcplmask(:,:,0) + zutau_ice(:,:) * ( 1. - xcplmask(:,:,0) ) 
    206214            vtau_ice(:,:) = vtau_ice(:,:) * xcplmask(:,:,0) + zvtau_ice(:,:) * ( 1. - xcplmask(:,:,0) ) 
     215!$OMP END PARALLEL WORKSHARE 
    207216         ENDIF 
    208217 
Note: See TracChangeset for help on using the changeset viewer.