Amesos  Development
Public Member Functions | Protected Attributes | List of all members
SpoolesOO Class Reference

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_
 

Detailed Description

SpoolesOO: An object-oriented wrapper for Spooles.

SpoolesOO will solve a linear systems of equations: $ AX=B $, using Epetra objects and the Spooles solver library, where $A$ 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.) $X$ and $B$ are Epetra_MultiVector objects.

Warning
SpoolesOO does not presently support solution of more than one simultaneous right-hand-side.

The documentation for this class was generated from the following files: