Changeset 262 for palm/trunk/SOURCE/advec_particles.f90
- Timestamp:
- Mar 18, 2009 8:32:37 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/advec_particles.f90
r230 r262 5 5 ! ----------------- 6 6 ! Output of messages replaced by message handling routine 7 ! Bugfix: error in check, if particles moved further than one subdomain length. 8 ! This check must not be applied for newly released particles 7 9 ! Bugfix: several tail counters are initialized, particle_tail_coordinates is 8 10 ! only written to file if its third index is > 0 … … 3066 3068 ! 3067 3069 !-- Stop if particles have moved further than the length of one 3068 !-- PE subdomain 3069 IF ( ABS(particles(n)%speed_x) > & 3070 ((nxr-nxl+2)*dx)/(particles(n)%age-particles(n)%age_m) .OR. & 3071 ABS(particles(n)%speed_y) > & 3072 ((nyn-nys+2)*dy)/(particles(n)%age-particles(n)%age_m) ) THEN 3073 3074 WRITE( message_string, * ) 'particle too fast. n = ', n 3075 CALL message( 'advec_particles', 'PA0148', 2, 2, 0, 6, 0 ) 3070 !-- PE subdomain (newly released particles have age = age_m!) 3071 IF ( particles(n)%age /= particles(n)%age_m ) THEN 3072 IF ( ABS(particles(n)%speed_x) > & 3073 ((nxr-nxl+2)*dx)/(particles(n)%age-particles(n)%age_m) .OR. & 3074 ABS(particles(n)%speed_y) > & 3075 ((nyn-nys+2)*dy)/(particles(n)%age-particles(n)%age_m) ) THEN 3076 3077 WRITE( message_string, * ) 'particle too fast. n = ', n 3078 CALL message( 'advec_particles', 'PA0148', 2, 2, 0, 6, 0 ) 3079 ENDIF 3076 3080 ENDIF 3077 3081
Note: See TracChangeset
for help on using the changeset viewer.