Changeset 1359 for palm/trunk/SOURCE/lpm_extend_tails.f90
- Timestamp:
- Apr 11, 2014 5:15:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/lpm_extend_tails.f90
r1321 r1359 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! New particle structure integrated. 23 ! Kind definition added to all floating point numbers. 23 24 ! 24 25 ! Former revisions: … … 64 65 65 66 66 distance = 0.0 67 distance = 0.0_wp 67 68 68 69 DO n = 1, number_of_particles … … 74 75 !-- Calculate the distance between the actual particle position and the 75 76 !-- next tailpoint 76 IF ( minimum_tailpoint_distance /= 0.0 ) THEN77 IF ( minimum_tailpoint_distance /= 0.0_wp ) THEN 77 78 distance = ( particle_tail_coordinates(1,1,nn) - & 78 79 particle_tail_coordinates(2,1,nn) )**2 + & … … 109 110 ! 110 111 !-- Increase the age of the tailpoints 111 IF ( minimum_tailpoint_distance /= 0.0 ) THEN112 IF ( minimum_tailpoint_distance /= 0.0_wp ) THEN 112 113 particle_tail_coordinates(2:particles(n)%tailpoints,5,nn) = & 113 114 particle_tail_coordinates(2:particles(n)%tailpoints,5,nn) + dt_3d
Note: See TracChangeset
for help on using the changeset viewer.