Hans,

> I have a set of *.dx files, each containing one field (and four objects).
> Please find below the first line of each object in such a file:
> 
> object 1 class gridpositions counts 40 40
> object 2 class gridconnections count 40 40
> object 3 class array type float rank 0 items 1600 lsb ieee data follows
> object 4 class field
> 
> The fourth object defines the field which I am interested in. Now, I
> have lots of those files, say file1.dx, file2.dx, file3.dx. All have the
> same structure, and the gridpositions and gridconnections are the same for
> all data. Only the data (Object3) changes from file to file.
> 
> What I want is a time-animated series of this data (or equivelantly of
> the object 4, the field). 

What you need is a new dx-file that simply contains this:

object "series" class series
member 0 position 0 value file file0.dx,4
member 1 position 1 value file file1.dx,4
member 2 position 2 value file file2.dx,4
member 3 position 3 value file file3.dx,4


And you are done. Why did you bother the list with this?

I hope this is useful for other people as well. Best regards, 

Hans





> 
> I could write a script that bangs all the data of all files in one very
> big dx-file but I suspect there is a better method.
> 
> Can I write a "meta---dx" file that refers to object 4 in another file,
> i.e. having a series object in it which referes to the other files like
> this:
> 
> object "series" class series
> member 0 value 0 "object4 in file file0.dx"   
> member 1 value 1 "object4 in file file1.dx"  
> 
> Any suggestions?
> 
> Many thanks in advance,
> 
> Hans
> 
> 

----------------------------------------------
Hans Fangohr

High Performance Computing Group
Department of Electronics and Computer Science
Building 59, Level 3, Room 3237
and
Quantum and Functional Matter Group
Department of Physics and Astronomy

University of Southampton
Highfield
Southampton
SO17 1BJ
Great Britain
[EMAIL PROTECTED]
----------------------------------------------

Reply via email to