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/LIM_SRC_2/limdyn_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/LIM_SRC_2/limdyn_2.F90

    r5123 r7037  
    7878         ! 
    7979         ! Mean ice and snow thicknesses.           
     80!$OMP PARALLEL WORKSHARE 
    8081         hsnm(:,:)  = ( 1.0 - frld(:,:) ) * hsnif(:,:) 
    8182         hicm(:,:)  = ( 1.0 - frld(:,:) ) * hicif(:,:) 
     83!$OMP END PARALLEL WORKSHARE 
    8284         ! 
    8385         !                                     ! Rheology (ice dynamics) 
     
    170172         SELECT CASE( cp_ice_msh )           ! ice-ocean relative velocity at u- & v-pts 
    171173         CASE( 'C' )                               ! EVP : C-grid ice dynamics 
     174!$OMP PARALLEL WORKSHARE 
    172175            zu_io(:,:) = u_ice(:,:) - ssu_m(:,:)           ! ice-ocean & ice velocity at ocean velocity points 
    173176            zv_io(:,:) = v_ice(:,:) - ssv_m(:,:) 
     177!$OMP END PARALLEL WORKSHARE 
    174178         CASE( 'I' )                               ! VP  : B-grid ice dynamics (I-point)  
     179!$OMP PARALLEL DO schedule(static) private(jj, ji) 
    175180            DO jj = 1, jpjm1                               ! u_ice v_ice at I-point ; ssu_m, ssv_m at U- & V-points 
    176181               DO ji = 1, jpim1   ! NO vector opt.         ! 
     
    183188         ! frictional velocity at T-point 
    184189         zcoef = 0.5_wp * cw 
     190!$OMP PARALLEL DO schedule(static) private(jj, ji) 
    185191         DO jj = 2, jpjm1 
    186192            DO ji = 2, jpim1   ! NO vector opt. because of zu_io 
     
    193199         ! 
    194200         zcoef = SQRT( 0.5 ) / rau0 
     201!$OMP PARALLEL DO schedule(static) private(jj, ji) 
    195202         DO jj = 2, jpjm1 
    196203            DO ji = fs_2, fs_jpim1   ! vector opt. 
     
    278285      pstarh = pstar / 2.0 
    279286      ! 
     287!$OMP PARALLEL WORKSHARE 
    280288      ahiu(:,:) = ahi0 * umask(:,:,1)            ! Ice eddy Diffusivity coefficients. 
    281289      ahiv(:,:) = ahi0 * vmask(:,:,1) 
     290!$OMP END PARALLEL WORKSHARE 
    282291      ! 
    283292   END SUBROUTINE lim_dyn_init_2 
Note: See TracChangeset for help on using the changeset viewer.