[FLASH-USERS] Sink particles question. Get particle info from sink tag.

Juan Camilo Ibañez Mejia jcibanezmejia at gmail.com
Thu Apr 2 00:02:46 EDT 2015


Hi all,

is there a simple way to get the information in a sink particle knowing the particle tag ?
Like using the particles_global array ? something like :

	> blockID = particles_global( BLK_PART_PROP, SinkTag )

The problem here is that the second input is the particle position in the global array, 
not the particle tag so of course this doesn’t work.

I need this because at some point one processor, hosting a sink particle, informs the
sink tag to all other processors. Then each processor needs to look for the position,
velocity, mass and blockID of the sink.

Thanks,

Juan


More information about the flash-users mailing list