- Timestamp:
- 2016-10-18T15:32:04+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_r6519_HPC_4/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim_2.F90
r6140 r7037 131 131 SELECT CASE( cp_ice_msh ) 132 132 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) 133 134 DO jj = 2, jpj 134 135 DO ji = 2, jpi ! NO vector opt. possible … … 143 144 ! 144 145 CASE( 'C' ) !== C-grid ice dynamics : U & V-points (same as ocean) 146 !$OMP PARALLEL WORKSHARE 145 147 u_oce(:,:) = ssu_m(:,:) * umask(:,:,1) ! mean surface ocean current at ice velocity point 146 148 v_oce(:,:) = ssv_m(:,:) * vmask(:,:,1) 149 !$OMP END PARALLEL WORKSHARE 147 150 ! 148 151 END SELECT … … 150 153 ! ... masked sea surface freezing temperature [Kelvin] (set to rt0 over land) 151 154 CALL eos_fzp( sss_m(:,:), tfu(:,:) ) 155 !$OMP PARALLEL WORKSHARE 152 156 tfu(:,:) = tfu(:,:) + rt0 153 157 154 158 zsist (:,:,1) = sist (:,:) + rt0 * ( 1. - tmask(:,:,1) ) 159 !$OMP END PARALLEL WORKSHARE 155 160 156 161 ! Ice albedo … … 164 169 165 170 ! albedo depends on cloud fraction because of non-linear spectral effects 171 !$OMP PARALLEL WORKSHARE 166 172 zalb_ice(:,:,:) = ( 1. - cldf_ice ) * zalb_cs(:,:,:) + cldf_ice * zalb_os(:,:,:) 173 !$OMP END PARALLEL WORKSHARE 167 174 ! In CLIO the cloud fraction is read in the climatology and the all-sky albedo 168 175 ! (zalb_ice) is computed within the bulk routine … … 203 210 IF( ln_mixcpl) THEN 204 211 CALL sbc_cpl_ice_tau( zutau_ice , zvtau_ice ) 212 !$OMP PARALLEL WORKSHARE 205 213 utau_ice(:,:) = utau_ice(:,:) * xcplmask(:,:,0) + zutau_ice(:,:) * ( 1. - xcplmask(:,:,0) ) 206 214 vtau_ice(:,:) = vtau_ice(:,:) * xcplmask(:,:,0) + zvtau_ice(:,:) * ( 1. - xcplmask(:,:,0) ) 215 !$OMP END PARALLEL WORKSHARE 207 216 ENDIF 208 217
Note: See TracChangeset
for help on using the changeset viewer.