Ignore:
Timestamp:
Feb 3, 2009 9:55:14 AM (15 years ago)
Author:
raasch
Message:

bugfixes concerning particle tails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/init_particles.f90

    r198 r229  
    44! Actual revisions:
    55! -----------------
    6 !
     6! Bugfix: arrays for tails are allocated with a minimum size of 10 tails if
     7! there is no tail initially
    78!
    89! Former revisions:
     
    457458          ENDDO
    458459          maximum_number_of_tails = factor * INT( value )
     460!
     461!--       Create a minimum number of tails in case that there is no tail
     462!--       initially (otherwise, index errors will occur when adressing the
     463!--       arrays below)
     464          IF ( maximum_number_of_tails == 0 )  maximum_number_of_tails = 10
    459465
    460466          ALLOCATE( particle_tail_coordinates(maximum_number_of_tailpoints,5, &
Note: See TracChangeset for help on using the changeset viewer.