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

Home » Public Forums » archive » Uncaught PARTICLE_TRACE exception
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Uncaught PARTICLE_TRACE exception [message #39585] Thu, 27 May 2004 10:43
rab209 is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: printing comma delimiters for float variables
Next Topic: XYOUTS and Postscript

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

Current Time: Wed Oct 08 15:21:12 PDT 2025

Total time taken to generate the page: 0.00464 seconds