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/limistate_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/limistate_2.F90

    r5541 r7037  
    7070          
    7171         CALL eos_fzp( tsn(:,:,1,jp_sal), tfu(:,:) )       ! freezing/melting point of sea water [Celcius] 
     72!$OMP PARALLEL 
     73!$OMP WORKSHARE 
    7274         tfu(:,:) = tfu(:,:) *  tmask(:,:,1) 
    73  
     75!$OMP END WORKSHARE 
     76 
     77!$OMP DO schedule(static) private(jj, ji) 
    7478         DO jj = 1, jpj 
    7579            DO ji = 1, jpi 
     
    9195         END DO 
    9296 
     97!$OMP WORKSHARE 
    9398         tfu(:,:) = tfu(:,:) + rt0       ! ftu converted from Celsius to Kelvin (rt0 over land) 
    9499          
     
    97102         tbif  (:,:,2) = tfu(:,:) 
    98103         tbif  (:,:,3) = tfu(:,:) 
    99  
     104!$OMP END WORKSHARE 
     105 
     106!$OMP END PARALLEL 
    100107      ENDIF 
    101108      
     109!$OMP PARALLEL WORKSHARE 
    102110      fsbbq (:,:)   = 0.e0 
    103111      qstoif(:,:)   = 0.e0 
     
    129137      stress12_i(:,:) = 0._wp 
    130138#endif 
     139!$OMP END PARALLEL WORKSHARE 
    131140 
    132141      !-- lateral boundary conditions 
     
    136145      ! C A U T I O N  frld = 1 over land and lbc_lnk put zero along  
    137146      ! *************  closed boundaries herefore we force to one over land 
     147!$OMP PARALLEL WORKSHARE 
    138148      frld(:,:) = tms(:,:) * frld(:,:) + ( 1. - tms(:,:) )    
     149!$OMP END PARALLEL WORKSHARE 
    139150 
    140151      CALL lbc_lnk( hsnif, 'T', 1. ) 
Note: See TracChangeset for help on using the changeset viewer.