Changeset 1673 for LMDZ5/trunk/libf/dyn3dmem/addfi_loc.F
- Timestamp:
- Oct 27, 2012, 4:23:07 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3dmem/addfi_loc.F
r1632 r1673 1 1 ! 2 ! $ Header$2 ! $Id$ 3 3 ! 4 4 SUBROUTINE addfi_loc(pdt, leapf, forward, … … 7 7 USE parallel 8 8 USE infotrac, ONLY : nqtot 9 USE control_mod, ONLY : planet_type 9 10 IMPLICIT NONE 10 11 c … … 156 157 c$OMP END MASTER 157 158 159 if (planet_type=="earth") then 160 ! earth case, special treatment for first 2 tracers (water) 158 161 DO iq = 1, 2 159 162 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 177 180 c$OMP END DO NOWAIT 178 181 ENDDO 182 else 183 ! general case, treat all tracers equally) 184 DO iq = 1, nqtot 185 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 186 DO k = 1,llm 187 DO j = ijb,ije 188 pq(j,k,iq)= pq(j,k,iq) + pdqfi(j,k,iq) * pdt 189 pq(j,k,iq)= AMAX1( pq(j,k,iq), qtestt ) 190 ENDDO 191 ENDDO 192 c$OMP END DO NOWAIT 193 ENDDO 194 endif ! of if (planet_type=="earth") 179 195 180 196 c$OMP MASTER
Note: See TracChangeset
for help on using the changeset viewer.