Uncaught PARTICLE_TRACE exception [message #39585] |
Thu, 27 May 2004 10:43 |
rab209
Messages: 1 Registered: May 2004
|
Junior Member |
|
|
Hi all,
I'm using the PARTICLE_TRACE procedure to simulate a particle flow
through a 3-D velocity field, which, in most cases, works well.
However, on the rare occasion where the seeds don't go anywhere
(usually due to the velocity vectors immediately pushing the seeds out
of the simulation volume), the program crashes, and IDL tells me that
% Array dimensions must be greater than 0.
and it points me to the line where my PARTICLE_TRACE call is made.
When examining the output values after the crash, the "Verts" and
"Normals" arrays are fine, but the "Conn" parameter is undefined...
Which makes me think that PARTICLE_TRACE needs to have at least one
connecting line for it to work w/o crashing... which is unfortunate,
since I can't .cont my way back afterwards, nor can I automatically
predict if that would happen beforehand by looking at the data.
Any ideas on if this is what's really happening and/or a workaround?
Thanks much,
Ryan
|
|
|