devel
devel > Dimensionality and scalar data
Apr 4, 2008 08:04 AM | Olivier Coulon
Dimensionality and scalar data
Hello everybody,
trying to read the gii files uploaded by Ziad, the following question arised : when storing a data array of, say, 20000 triangles, one has to write this :
Dimensionality="2"
Dim0="20000"
Dim1="3"
i.e. 20000 elements of dimension 3. When it comes to scalar data, this transposes to :
Dimensionality="2"
Dim0="20000"
Dim1="1"
i.e. 20000 elements of dimension 1, as given in John's example files.
In Ziad's files it is declared as :
Dimensionality="1"
Dim0="20000"
which is one element of dimension 20000.
Are both ways OK ? Or did I misunderstand something ?
Thanks,
Olivier
trying to read the gii files uploaded by Ziad, the following question arised : when storing a data array of, say, 20000 triangles, one has to write this :
Dimensionality="2"
Dim0="20000"
Dim1="3"
i.e. 20000 elements of dimension 3. When it comes to scalar data, this transposes to :
Dimensionality="2"
Dim0="20000"
Dim1="1"
i.e. 20000 elements of dimension 1, as given in John's example files.
In Ziad's files it is declared as :
Dimensionality="1"
Dim0="20000"
which is one element of dimension 20000.
Are both ways OK ? Or did I misunderstand something ?
Thanks,
Olivier
Threaded View
Title | Author | Date |
---|---|---|
Olivier Coulon | Apr 4, 2008 | |
John Harwell | Apr 4, 2008 | |
Olivier Coulon | Apr 4, 2008 | |
Richard Reynolds | Apr 4, 2008 | |
Erik Anderson | Apr 4, 2008 | |