42 #ifndef THYRA_MULTI_VECTOR_FILE_IO_BASE_HPP
43 #define THYRA_MULTI_VECTOR_FILE_IO_BASE_HPP
45 #include "Thyra_OperatorVectorTypes.hpp"
46 #include "Teuchos_ParameterListAcceptor.hpp"
47 #include "Teuchos_VerboseObject.hpp"
81 template<
class Scalar>
108 const std::string &fileNameBase,
125 const std::string &fileNameBase
138 template<
class Scalar>
142 const std::string &fileNameBase,
155 #endif // THYRA_MULTI_VECTOR_FILE_IO_BASE_HPP
virtual bool isCompatible(const MultiVectorBase< Scalar > &mv) const =0
Return if the given multi-vector is compatible with this implementation.
Abstract interface for objects that represent a space for vectors.
Interface for a collection of column vectors called a multi-vector.
virtual void writeMultiVectorToFile(const Thyra::MultiVectorBase< Scalar > &mv, const std::string &fileNameBase) const =0
Write a (multi)vector to a file given the file base name.
Abstract strategy interface for reading and writing (multi)vector objects to and from files...
virtual void readMultiVectorFromFile(const std::string &fileNameBase, Thyra::MultiVectorBase< Scalar > *mv) const =0
Read a (multi)vector from a file given the file base name.
Teuchos::RCP< VectorBase< Scalar > > readVectorFromFile(const MultiVectorFileIOBase< Scalar > &fileIO, const std::string &fileNameBase, const VectorSpaceBase< Scalar > &vecSpc)
Read a vector from file(s) given the file base name and a vector space.