- 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/TOP_SRC/TRP/trcsbc.F90
r6309 r7037 109 109 ELSE ! No restart or restart not found: Euler forward time stepping 110 110 zfact = 1._wp 111 !$OMP PARALLEL WORKSHARE 111 112 sbc_trc_b(:,:,:) = 0._wp 113 !$OMP END PARALLEL WORKSHARE 112 114 ENDIF 113 115 ELSE ! Swap of forcing fields 114 116 IF( ln_top_euler ) THEN 115 117 zfact = 1._wp 118 !$OMP PARALLEL WORKSHARE 116 119 sbc_trc_b(:,:,:) = 0._wp 120 !$OMP END PARALLEL WORKSHARE 117 121 ELSE 118 122 zfact = 0.5_wp 123 !$OMP PARALLEL WORKSHARE 119 124 sbc_trc_b(:,:,:) = sbc_trc(:,:,:) 125 !$OMP END PARALLEL WORKSHARE 120 126 ENDIF 121 127 ! … … 127 133 ! 128 134 IF( .NOT. lk_offline .AND. .NOT.ln_linssh ) THEN ! online coupling with vvl 135 !$OMP PARALLEL WORKSHARE 129 136 zsfx(:,:) = 0._wp 137 !$OMP END PARALLEL WORKSHARE 130 138 ELSE ! online coupling free surface or offline with free surface 139 !$OMP PARALLEL WORKSHARE 131 140 zsfx(:,:) = emp(:,:) 141 !$OMP END PARALLEL WORKSHARE 132 142 ENDIF 133 143 … … 135 145 DO jn = 1, jptra 136 146 ! 137 IF( l_trdtrc ) ztrtrd(:,:,:) = tra(:,:,:,jn) ! save trends 138 147 IF( l_trdtrc ) THEN 148 !$OMP PARALLEL WORKSHARE 149 ztrtrd(:,:,:) = tra(:,:,:,jn) ! save trends 150 !$OMP END PARALLEL WORKSHARE 151 END IF 139 152 IF ( nn_ice_tr == -1 ) THEN ! No tracers in sea ice (null concentration in sea ice) 140 153 154 !$OMP PARALLEL DO schedule(static) private(jj, ji) 141 155 DO jj = 2, jpj 142 156 DO ji = fs_2, fs_jpim1 ! vector opt. … … 146 160 147 161 ELSE 148 162 !$OMP PARALLEL DO schedule(static) private(jj,ji,zse3t,zftra,zcd,ztfx,zdtra,zratio) 149 163 DO jj = 2, jpj 150 164 DO ji = fs_2, fs_jpim1 ! vector opt. … … 170 184 CALL lbc_lnk( sbc_trc(:,:,jn), 'T', 1. ) 171 185 ! Concentration dilution effect on tracers due to evaporation & precipitation 186 !$OMP PARALLEL DO schedule(static) private(jj,ji,zse3t) 172 187 DO jj = 2, jpj 173 188 DO ji = fs_2, fs_jpim1 ! vector opt. … … 178 193 ! 179 194 IF( l_trdtrc ) THEN 195 !$OMP PARALLEL WORKSHARE 180 196 ztrtrd(:,:,:) = tra(:,:,:,jn) - ztrtrd(:,:,:) 197 !$OMP END PARALLEL WORKSHARE 181 198 CALL trd_tra( kt, 'TRC', jn, jptra_nsr, ztrtrd ) 182 199 END IF
Note: See TracChangeset
for help on using the changeset viewer.