Ignore:
Timestamp:
Oct 11, 2007 2:30:27 AM (17 years ago)
Author:
raasch
Message:

further preliminary updates concerning particle sorting and documentation

File:
1 edited

Legend:

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

    r114 r116  
    44! Actual revisions:
    55! -----------------
     6! Sorting of particles is controlled by dt_sort_particles and moved from
     7! the SGS timestep loop after the end of this loop.
    68! Bugfix: pleft/pright changed to pnorth/psouth in sendrecv of particle tail
    79! numbers along y
     
    32543256!    ENDDO
    32553257
    3256 !
    3257 !--    Sort particles in the sequence the gridboxes are stored in the memory
    3258        CALL sort_particles
    3259 
    32603258!    WRITE ( 9, * ) '*** advec_particles: ##9'
    32613259!    CALL local_flush( 9 )
     
    32863284
    32873285    ENDDO   ! timestep loop
     3286
     3287
     3288!
     3289!-- Sort particles in the sequence the gridboxes are stored in the memory
     3290    time_sort_particles = time_sort_particles + dt_3d
     3291    IF ( time_sort_particles >= dt_sort_particles )  THEN
     3292       CALL sort_particles
     3293       time_sort_particles = MOD( time_sort_particles, &
     3294                                  MAX( dt_sort_particles, dt_3d ) )
     3295    ENDIF
    32883296
    32893297
Note: See TracChangeset for help on using the changeset viewer.