Amesos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
SpoolesOO Class Reference

SpoolesOO: An object-oriented wrapper for Spooles. More...

#include <SpoolesOO.h>

Collaboration diagram for SpoolesOO:
Collaboration graph
[legend]

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_RowMatrixGetUserMatrix () const
 
Epetra_MultiVectorGetLHS () const
 
Epetra_MultiVectorGetRHS () const
 
bool GetTrans () const
 
void SetTrans (bool trans)
 
int SetSpoolesDefaults ()
 
int Solve ()
 

Protected Attributes

Epetra_OperatorUserOperator_
 
Epetra_RowMatrixUserMatrix_
 
Epetra_OperatorPrecOperator_
 
Epetra_RowMatrixPrecMatrix_
 
Epetra_MultiVectorX_
 
Epetra_MultiVectorB_
 
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: