10#ifndef THYRA_MULTI_VECTOR_FILE_IO_BASE_HPP 
   11#define THYRA_MULTI_VECTOR_FILE_IO_BASE_HPP 
   13#include "Thyra_OperatorVectorTypes.hpp" 
   14#include "Teuchos_ParameterListAcceptor.hpp" 
   15#include "Teuchos_VerboseObject.hpp" 
   76    const std::string &fileNameBase,
 
   93    const std::string &fileNameBase
 
 
  106template<
class Scalar>
 
  110  const std::string &fileNameBase,
 
 
Interface for a collection of column vectors called a multi-vector.
 
Abstract strategy interface for reading and writing (multi)vector objects to and from files.
 
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.
 
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.
 
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.
 
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.