comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Particle represetation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Particle represetation [message #35034] Fri, 09 May 2003 09:51 Go to previous message
user is currently offline  user
Messages: 8
Registered: August 1999
Junior Member
Hi,

Does anyone know of a simple way of creating an _irregularly_ spaced
particle representation from a _regularly_ spaced grid? I have a 2D
grid with density values (tends to be close to a Gaussian profile), and
I then want to represent this using a finite number of point masses,
each having the same mass, but with a general position. The initial
density profile will then be represented by the spacing of the points,
each containing an equal amount of the mass. For some reason I thought
IDL had routines suitable for this, but I can't seem to find any.

I plan to use these as tracer particles, injected onto a regular grid,
so I will create a linked list containing a unique particle identifier,
its position in 3D space, pressure, energy etc., and then it will be
moved around by the velocity vectors living on the hydro grid.

Any ideas received with thanks,

Henrik
[Message index]
 
Read Message
Read Message
Previous Topic: 6.0 beta??
Next Topic: Need a program for magnetic declination

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:51:30 PDT 2025

Total time taken to generate the page: 0.87837 seconds