[FLASH-USERS] Destroying particles

Seyit Hocuk seyit at astro.rug.nl
Wed Sep 1 05:57:01 EDT 2010


Thanks Anshu,

What exactly did you mean by time history?
For sorting the partiles, do you mean re-tag them?

I will try to change the blocknumber instead and see if it helps.

Kind regards,
Seyit



Anshu Dubey wrote:
> One possibility if you don't need the time history is to set the 
> particles' block number to NONEXISTENT, and then sort the particles 
> data structure before you continue processing.
>
> On Tue, Aug 31, 2010 at 9:22 AM, Seyit Hocuk <seyit at astro.rug.nl 
> <mailto:seyit at astro.rug.nl>> wrote:
>
>     Dear Community,
>
>     I have a simple question, one that we discussed before, I think.
>
>     Here goes:
>     If you have a certain amount of particles, and want to
>     reduce/destroy some of them during simulation, what is the best
>     approach to do this. I alwas was placing them outside the box
>     (negative x,y,z-positions), however, this causes occasional
>     crashes (coming from "pt_mapFromMeshWeighted" line 146), and
>     running in debug mode already was showing this. I think that
>     putting 0 mass is also not a good solution.
>
>     Is there any other way?
>
>     Kind regards,
>     Seyit
>
>
>
>
>
> -- 
> Anshu Dubey
> Associate Director and CS/Applications Group Leader
> ASC/Flash Center
> Fellow, Computation Institute
> University of Chicago and Argonne National Laboratory
> 773 834 2999 (office)
> 312 420 0033 (mobile)
> 773 834 3230 (fax)




More information about the flash-users mailing list