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/advec_particles.f90

    r226 r229  
    44! Actual revisions:
    55! -----------------
     6! Bugfix: several tail counters are initialized, particle_tail_coordinates is
     7! only written to file if its third index is > 0
    68! TEST: PRINT statements on unit 9 (commented out)
    79!
     
    159161       WRITE ( 85 )  maximum_number_of_tailpoints, maximum_number_of_tails, &
    160162                     number_of_tails
    161        WRITE ( 85 )  particle_tail_coordinates
     163       IF ( maximum_number_of_tails > 0 )  THEN
     164          WRITE ( 85 )  particle_tail_coordinates
     165       ENDIF
    162166       CALL close_file( 85 )
    163167
     
    823827       trrp_count_recv   = 0
    824828       trsp_count_recv   = 0
     829       trlpt_count_recv  = 0
     830       trnpt_count_recv  = 0
     831       trrpt_count_recv  = 0
     832       trspt_count_recv  = 0
    825833       IF ( use_particle_tails )  THEN
    826834          tail_mask     = .TRUE.
    827           deleted_tails = 0
    828835       ENDIF
     836       deleted_tails = 0
    829837
    830838
Note: See TracChangeset for help on using the changeset viewer.