3 #ifndef BURKARDT_FILE_IO_HANDLER_H
4 #define BURKARDT_FILE_IO_HANDLER_H
7 #include "RBGen_FileIOHandler.hpp"
34 void Reset() { num_nodes = 0; isInit =
false; };
69 std::string in_path, out_path;
72 int data_size(
const std::string filename );
75 int read_vec(
const std::string filename,
int n_equations,
double *x,
double *y );
78 int write_vec(
const std::string filename,
int n_equations,
double *x,
double *y );
83 #endif // BURKARDT_FILE_IO_HANDLER_H
bool isInitialized() const
Return initialized status of the handler.
virtual ~BurkardtFileIOHandler()
Destructor.
BurkardtFileIOHandler()
Default constructor.
FileIOHandler for reading an Epetra_MultiVector from Burkardt data files.
Teuchos::RCP< Epetra_MultiVector > Read(const std::vector< std::string > &filenames)
Method for reading multiple files and putting them into an Epetra_MultiVector.
Abstract base class for reading datasets from files.
void Initialize(const Teuchos::RCP< Teuchos::ParameterList > ¶ms)
Initialize file reader using.
void Write(const Teuchos::RCP< const Epetra_MultiVector > &MV, const std::string &filename)
Method for writing one Epetra_MultiVector into a file.