Hi,

My software can generate the opendx native format file with a large
number (typically in the order of a 100) field objects, with each object
representing the positions of particles at a single timestep during
a thermalization process.

If I manually append a series at the end of this file with all these
objects as members, it works well, but the problem is I don't want to do
this manual stuff.

Is there another way to let some module check out the number of field objects
in the input dx file and group that into a series or something like this?

Thanks so much.
Rob (Please add my personal email address to your reply - thanks).

PS: A simplified form of my dx file is shown below. It's the field_nnn
field objects that I need to group into a series.

---------------------
object "colors" class array type byte rank 0 items 4 data follows
1 1 2 2
attribute "dep" string "positions"

object "radii" class array type float rank 0 items 4 data follows
1.2 1.5 1.5 1.2
attribute "dep" string "positions"

object "position_000" class array type float rank 1 shape 3 items 4 data follows
-18.0227 -16.8091 -0.00118515
-15.248 -16.805 0.00451398
-12.4662 -16.8142 -0.000189105
-9.69373 -16.8088 -0.0062837

object "field_000" class field
   component "positions" value "position_000"
   component "colors" value "colors"
   component "data" value "radii"
   attribute "annotation" string "Thermalizing: T = 197.857"

# etc. etc. until:

object "position_nnn" class array type float rank 1 shape 3 items 4 data follows
0 20.8043 -9.05285
2.77186 20.8043 -9.05285
5.54372 20.8043 -9.05285
8.31558 20.8043 -9.05285

object "field_nnn" class field
   component "positions" value "position_nnn"
   component "colors" value "colors"
   component "data" value "radii"
   attribute "annotation" string "Thermalizing: T = 103.535"
---------------------

Reply via email to