[Trilinos-Users] EpetraExt_HDF5: write of transposed MultiVector

Simone Deparis simone.deparis at epfl.ch
Fri Aug 8 08:24:15 MDT 2008


Hi,

I would like to use the write funciton of EpetraExt_HDF5 for
MultiVectors, but I would like a "transposed output".

given a Multivector with  NumVectors = 3, e.g: (and GlobalLength 4)
1 1 1
2 2 2
3 3 3
4 4 4

I would like to write in a HDF5 file the array:
1 1 1
2 2 2
3 3 3
4 4 4

Right now, the function
void EpetraExt::HDF5::Write(const std::string& GroupName, const
Epetra_MultiVector& X)

sets the output as
1 2 3 4
1 2 3 4
1 2 3 4


Is there an easy way to change the EpetraExt::HDF5::Write and have what
I need, please?

Thank you
best
Simone



More information about the Trilinos-Users mailing list