Thyra::SpmdMultiVectorFileIO< Scalar > Class Template Reference
[Efficient Generic SPMD Concrete Thyra Operator/Vector Subclass Implementations]

Utility class for reading and writing parallel (or any serial) Thyra vectors to and from parallel files. More...

#include <Thyra_SpmdMultiVectorFileIO.hpp>

List of all members.

Public Member Functions

 SpmdMultiVectorFileIO (int procRank=-1, int numProcs=-1)
 
void setProcRankAndSize (int procRank=-1, int numProcs=-1)
 Set the processor rank and the total number of processors.
std::string getParallelFileName (const std::string &fileNameBase) const
Teuchos::RefCountPtr< VectorBase<
Scalar > > 
readVectorFromFile (const std::string &fileNameBase, const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &vs, const bool binary=false) const
void writeToFile (const MultiVectorBase< Scalar > &mv, const std::string &fileNameBase, const bool binary=false) const


Detailed Description

template<class Scalar>
class Thyra::SpmdMultiVectorFileIO< Scalar >

Utility class for reading and writing parallel (or any serial) Thyra vectors to and from parallel files.

Definition at line 43 of file Thyra_SpmdMultiVectorFileIO.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Thyra::SpmdMultiVectorFileIO< Scalar >::SpmdMultiVectorFileIO int  procRank = -1,
int  numProcs = -1
 

Definition at line 90 of file Thyra_SpmdMultiVectorFileIO.hpp.


Member Function Documentation

template<class Scalar>
void Thyra::SpmdMultiVectorFileIO< Scalar >::setProcRankAndSize int  procRank = -1,
int  numProcs = -1
 

Set the processor rank and the total number of processors.

If numProcs < 0 then procRank and numProcs will be determined from Teuchos::GlobalMPISession.

Definition at line 99 of file Thyra_SpmdMultiVectorFileIO.hpp.

template<class Scalar>
std::string Thyra::SpmdMultiVectorFileIO< Scalar >::getParallelFileName const std::string &  fileNameBase  )  const
 

brief .

Definition at line 109 of file Thyra_SpmdMultiVectorFileIO.hpp.

template<class Scalar>
Teuchos::RefCountPtr< VectorBase< Scalar > > Thyra::SpmdMultiVectorFileIO< Scalar >::readVectorFromFile const std::string &  fileNameBase,
const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &  vs,
const bool  binary = false
const
 

brief .

Definition at line 122 of file Thyra_SpmdMultiVectorFileIO.hpp.

template<class Scalar>
void Thyra::SpmdMultiVectorFileIO< Scalar >::writeToFile const MultiVectorBase< Scalar > &  mv,
const std::string &  fileNameBase,
const bool  binary = false
const
 

brief .

Definition at line 142 of file Thyra_SpmdMultiVectorFileIO.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:32:34 2008 for Thyra Operator/Vector Support by doxygen 1.3.9.1