Amesos
Development
|
SpoolesOO: An object-oriented wrapper for Spooles. More...
#include <SpoolesOO.h>
Public Member Functions | |
SpoolesOO (Epetra_RowMatrix *A, Epetra_MultiVector *X, Epetra_MultiVector *B) | |
int | SetUserMatrix (Epetra_RowMatrix *UserMatrix) |
int | SetLHS (Epetra_MultiVector *X) |
int | SetRHS (Epetra_MultiVector *B) |
Epetra_RowMatrix * | GetUserMatrix () const |
Epetra_MultiVector * | GetLHS () const |
Epetra_MultiVector * | GetRHS () const |
bool | GetTrans () const |
void | SetTrans (bool trans) |
int | SetSpoolesDefaults () |
int | Solve () |
Protected Attributes | |
Epetra_Operator * | UserOperator_ |
Epetra_RowMatrix * | UserMatrix_ |
Epetra_Operator * | PrecOperator_ |
Epetra_RowMatrix * | PrecMatrix_ |
Epetra_MultiVector * | X_ |
Epetra_MultiVector * | B_ |
bool | Transpose_ |
int | x_LDA_ |
double * | x_ |
int | b_LDA_ |
double * | b_ |
bool | inConstructor_ |
SpoolesOO: An object-oriented wrapper for Spooles.
SpoolesOO will solve a linear systems of equations: , using Epetra objects and the Spooles solver library, where is an Epetra_Operator or Epetra_RowMatrix (note that the Epetra_Operator class is a base class for Epetra_RowMatrix so that Epetra_RowMatrix isa Epetra_Operator.) and are Epetra_MultiVector objects.