42 #ifndef EPETRAEXT_READ_EPETRA_LINEAR_SYSTEM_H 43 #define EPETRAEXT_READ_EPETRA_LINEAR_SYSTEM_H 49 #include "Teuchos_RCP.hpp" 75 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES 77 const std::string &fileName
79 ,Teuchos::RCP<Epetra_CrsMatrix> *A = NULL
80 ,Teuchos::RCP<Epetra_Map> *map = NULL
81 ,Teuchos::RCP<Epetra_Vector> *x = NULL
82 ,Teuchos::RCP<Epetra_Vector> *b = NULL
83 ,Teuchos::RCP<Epetra_Vector> *xExact = NULL
87 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES 89 const std::string &fileName
91 ,Teuchos::RCP<Epetra_CrsMatrix> *A = NULL
92 ,Teuchos::RCP<Epetra_Map> *map = NULL
93 ,Teuchos::RCP<Epetra_Vector> *x = NULL
94 ,Teuchos::RCP<Epetra_Vector> *b = NULL
95 ,Teuchos::RCP<Epetra_Vector> *xExact = NULL
101 #endif // EPETRAEXT_READ_EPETRA_LINEAR_SYSTEM_H EpetraExt::BlockCrsMatrix: A class for constructing a distributed block matrix.
void readEpetraLinearSystem(const std::string &fileName, const Epetra_Comm &comm, Teuchos::RCP< Epetra_CrsMatrix > *A=NULL, Teuchos::RCP< Epetra_Map > *map=NULL, Teuchos::RCP< Epetra_Vector > *x=NULL, Teuchos::RCP< Epetra_Vector > *b=NULL, Teuchos::RCP< Epetra_Vector > *xExact=NULL)
Read in an Epetra linear system from a file.
void readEpetraLinearSystem64(const std::string &fileName, const Epetra_Comm &comm, Teuchos::RCP< Epetra_CrsMatrix > *A=NULL, Teuchos::RCP< Epetra_Map > *map=NULL, Teuchos::RCP< Epetra_Vector > *x=NULL, Teuchos::RCP< Epetra_Vector > *b=NULL, Teuchos::RCP< Epetra_Vector > *xExact=NULL)