42 #ifndef EPETRAEXT_READ_EPETRA_LINEAR_SYSTEM_H 43 #define EPETRAEXT_READ_EPETRA_LINEAR_SYSTEM_H 45 #include "Epetra_Map.h" 46 #include "Epetra_CrsMatrix.h" 47 #include "Epetra_Vector.h" 48 #include "Teuchos_RefCountPtr.hpp" 75 const std::string &fileName
76 ,
const Epetra_Comm &comm
77 ,Teuchos::RefCountPtr<Epetra_CrsMatrix> *A = NULL
78 ,Teuchos::RefCountPtr<Epetra_Map> *map = NULL
79 ,Teuchos::RefCountPtr<Epetra_Vector> *x = NULL
80 ,Teuchos::RefCountPtr<Epetra_Vector> *b = NULL
81 ,Teuchos::RefCountPtr<Epetra_Vector> *xExact = NULL
86 #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::RefCountPtr< Epetra_CrsMatrix > *A=NULL, Teuchos::RefCountPtr< Epetra_Map > *map=NULL, Teuchos::RefCountPtr< Epetra_Vector > *x=NULL, Teuchos::RefCountPtr< Epetra_Vector > *b=NULL, Teuchos::RefCountPtr< Epetra_Vector > *xExact=NULL)
Read in an Epetra linear system from a file.