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 6712 for branches/2016/dev_v3_6_STABLE_OMP/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftke.F90 – NEMO

Ignore:
Timestamp:
2016-06-14T16:23:21+02:00 (8 years ago)
Author:
mocavero
Message:

update some OMP directives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_v3_6_STABLE_OMP/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftke.F90

    r6508 r6712  
    171171      !!              Bruchard OM 2002 
    172172      !!---------------------------------------------------------------------- 
     173      INTEGER ::   ji, jj, jk   ! dummy loop indices 
    173174      INTEGER, INTENT(in) ::   kt   ! ocean time step 
    174175      !!---------------------------------------------------------------------- 
     
    318319         zcof = 0.5 * 0.016 * 0.016 / ( zrhoa * zcdrag ) 
    319320         imlc(:,:) = mbkt(:,:) + 1       ! Initialization to the number of w ocean point (=2 over land) 
    320 !$OMP PARALLEL DO schedule(static) private(jk, jj, ji, zus) 
    321321       DO jk = jpkm1, 2, -1 
    322322            DO jj = 1, jpj               ! Last w-level at which zpelc>=0.5*us*us  
     
    576576     ! 
    577577      IF( ln_mxl0 ) THEN            ! surface mixing length = F(stress) : l=vkarmn*2.e5*taum/(rau0*g) 
    578 !$OMP PARALLEL DO schedule(static) private(jj, ji) 
     578!$OMP PARALLEL DO schedule(static) private(jj, ji, zraug) 
    579579       DO jj = 2, jpjm1 
    580580            DO ji = fs_2, fs_jpim1 
     
    650650         END DO 
    651651         DO jk = jpkm1, 2, -1     ! from the bottom to the surface : 
    652 !$OMP PARALLEL DO schedule(static) private(jj, ji) 
     652!$OMP PARALLEL DO schedule(static) private(jj, ji, zemxl) 
    653653            DO jj = 2, jpjm1 
    654654               DO ji = fs_2, fs_jpim1   ! vector opt. 
     
    678678         END DO 
    679679!CDIR NOVERRCHK 
    680 !$OMP PARALLEL DO schedule(static) private(jk, jj, ji, zemxl, zemlp) 
     680!$OMP PARALLEL DO schedule(static) private(jk, jj, ji, zemlm, zemlp) 
    681681         DO jk = 2, jpkm1 
    682682!CDIR NOVERRCHK 
Note: See TracChangeset for help on using the changeset viewer.