[FLASH-USERS] Destroying particles

Anshu Dubey dubey at flash.uchicago.edu
Tue Aug 31 14:39:08 EDT 2010


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> 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20100831/b4709178/attachment.htm>


More information about the flash-users mailing list