Changeset 480 for codes/icosagcm/trunk/src
- Timestamp:
- 09/16/16 15:37:45 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/hevi_scheme.f90
r387 r480 54 54 USE disvert_mod 55 55 USE caldyn_hevi_mod 56 USE omp_para 57 USE checksum_mod 56 58 LOGICAL :: fluxt_zero(ndomain) ! set to .TRUE. to start accumulating fluxes in time 57 59 INTEGER :: it,j,l, ind … … 68 70 f_dW_slow(:,j), f_dW_fast(:,j) ) 69 71 ! accumulate mass fluxes for transport scheme 72 70 73 DO ind=1,ndomain 71 74 IF (.NOT. assigned_domain(ind)) CYCLE … … 91 94 CALL update_3D(cjl(l,j), f_geopot, f_dPhi_fast(:,l)) 92 95 END IF 96 !$OMP BARRIER 93 97 END DO 94 98 END DO … … 145 149 146 150 SUBROUTINE update_2D(w, f_y, f_dy) 151 USE omp_para 147 152 REAL(rstd) :: w 148 153 TYPE(t_field) :: f_y(:), f_dy(:) … … 152 157 IF (.NOT. assigned_domain(ind)) CYCLE 153 158 dy=f_dy(ind); y=f_y(ind) 154 CALL compute_update_2D(w,y,dy)159 IF (is_omp_level_master) CALL compute_update_2D(w,y,dy) 155 160 ENDDO 156 161 END SUBROUTINE update_2D
Note: See TracChangeset
for help on using the changeset viewer.