>Hello,
> I am trying to use opendx  as a postprocessor for an opensource FE
>program (tochnog). All the solution data are at the nodes. At the moment
>the author has written a preliminary dx output routine. It has nodes,
>elements, as arrays and the  solution variables as fields. By inspecting
>Disalva's .net files and 1996 dx symposium paper I conjured up a dx
>program. The problems is this: we don't end up with a single set of node
>locations/solutions but one at each time point. Each field name has time
>embedded in it to make it unique. Is there a simple way in dx to find
>out all the field names and offer them to the user for selection? At the
>moment what I wrote can handle one time point (I just hand edit it). I
>am thinking of series or groups. Any help/pointer/comment appreciated.
>Thanks in advance,
>Osman
>[EMAIL PROTECTED]

Look into Inquire. I believe one choice is "member names" or somesuch. So
you can ask this of a whole Group of named Fields and get a List back,
suitable for piping into a SelectorList. However, there is some arbitrary
upper limit on the number of characters SelectorList can take (since it has
to display in the user interface), maybe about 2K, I think, so if the list
is too big you may get clipped.

Of course, you can step through the Series (if your Group of Fields is so
composed) with Sequencer, so the user never needs to specify the arbitrary
time. Just pull the time value out and display it in a Caption so they can
verify they are at the right time. To do this, you also use Inquire("member
name"), or if you assign time to a "time" Attribute of each Field, use
Attribute("time") to get it back as a value to pipe to Format (if it's
numeric to convert to string) or straight to Caption (if it's a string
already).

Chris Pelkie
Vice President/Scientific Visualization Producer
Conceptual Reality Presentations, Inc.
30 West Meadow Drive
Ithaca, NY 14850
[EMAIL PROTECTED]

Reply via email to