1 #include "RBGen_EpetraMVFileIOFactory.h"
2 #include "Teuchos_Assert.hpp"
9 file_formats.push_back(
"Burkardt");
10 #ifdef HAVE_RBGEN_NETCDF
11 file_formats.push_back(
"NetCDF");
13 #ifdef HAVE_RBGEN_EPETRAEXT
14 file_formats.push_back(
"Matrix Market");
28 std::string file_format = Teuchos::getParameter<std::string>(
const_cast<Teuchos::ParameterList&
>(fileio_params),
34 if ( file_format ==
"Burkardt" ) {
38 #ifdef HAVE_RBGEN_NETCDF
39 if ( file_format ==
"NetCDF" ) {
44 #ifdef HAVE_RBGEN_EPETRAEXT
45 if ( file_format ==
"Matrix Market" ) {
46 RBFileIO =
Teuchos::rcp(
new MatrixMarketFileIOHandler() );
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
FileIOHandler for reading an Epetra_MultiVector from Burkardt data files.
bool isSublist(const std::string &name) const
EpetraMVFileIOFactory()
Default constructor.
ParameterList & sublist(const std::string &name, bool mustAlreadyExist=false, const std::string &docString="")