Changeset 1015 for palm/trunk/SOURCE/time_integration.f90
- Timestamp:
- Sep 27, 2012 9:23:24 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/time_integration.f90
r1002 r1015 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 6 ! +call of prognostic_equations_acc 7 7 ! 8 8 ! Former revisions: … … 176 176 IF ( loop_optimization == 'vector' ) THEN 177 177 CALL prognostic_equations_vector 178 ELSEIF ( loop_optimization == 'acc' ) THEN 179 CALL prognostic_equations_acc 178 180 ELSE 179 181 IF ( scalar_advec == 'bc-scheme' ) THEN … … 284 286 CALL pres 285 287 ENDIF 288 ! 289 !-- Update device memory for calculating diffusion quantities and for next 290 !-- timestep 291 !$acc update device( e, pt, u, v, w ) 292 !$acc update device( q ) if ( allocated( q ) ) 286 293 287 294 ! 288 295 !-- If required, compute virtuell potential temperature 289 IF ( humidity ) CALL compute_vpt 296 IF ( humidity ) THEN 297 CALL compute_vpt 298 !$acc update device( vpt ) 299 ENDIF 290 300 291 301 ! 292 302 !-- If required, compute liquid water content 293 IF ( cloud_physics ) CALL calc_liquid_water_content 303 IF ( cloud_physics ) THEN 304 CALL calc_liquid_water_content 305 !$acc update device( ql ) 306 ENDIF 294 307 295 308 ! … … 303 316 CALL prandtl_fluxes 304 317 CALL cpu_log( log_point(19), 'prandtl_fluxes', 'stop' ) 318 ! 319 !++ Statistics still require updates on host 320 !$acc update host( qs, qsws, rif, shf, ts ) 305 321 ENDIF 306 322 … … 318 334 ENDIF 319 335 CALL cpu_log( log_point(17), 'diffusivities', 'stop' ) 336 ! 337 !++ Statistics still require update of diffusivities on host 338 !$acc update host( kh, km ) 320 339 321 340 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.