Amesos Package Browser (Single Doxygen Collection)
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) | |
SpoolesOO () | |
virtual | ~SpoolesOO (void) |
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.
Definition at line 51 of file SpoolesOO.h.
SpoolesOO::SpoolesOO | ( | Epetra_RowMatrix * | A, |
Epetra_MultiVector * | X, | ||
Epetra_MultiVector * | B | ||
) |
Definition at line 52 of file SpoolesOO.cpp.
SpoolesOO::SpoolesOO | ( | ) |
Definition at line 67 of file SpoolesOO.cpp.
|
virtual |
Definition at line 73 of file SpoolesOO.cpp.
int SpoolesOO::SetUserMatrix | ( | Epetra_RowMatrix * | UserMatrix | ) |
Definition at line 79 of file SpoolesOO.cpp.
int SpoolesOO::SetLHS | ( | Epetra_MultiVector * | X | ) |
Definition at line 90 of file SpoolesOO.cpp.
int SpoolesOO::SetRHS | ( | Epetra_MultiVector * | B | ) |
Definition at line 99 of file SpoolesOO.cpp.
|
inline |
Definition at line 66 of file SpoolesOO.h.
|
inline |
Definition at line 68 of file SpoolesOO.h.
|
inline |
Definition at line 70 of file SpoolesOO.h.
|
inline |
Definition at line 72 of file SpoolesOO.h.
|
inline |
Definition at line 74 of file SpoolesOO.h.
int SpoolesOO::SetSpoolesDefaults | ( | ) |
Definition at line 108 of file SpoolesOO.cpp.
int SpoolesOO::Solve | ( | void | ) |
Definition at line 128 of file SpoolesOO.cpp.
|
protected |
Definition at line 82 of file SpoolesOO.h.
|
protected |
Definition at line 83 of file SpoolesOO.h.
|
protected |
Definition at line 84 of file SpoolesOO.h.
|
protected |
Definition at line 85 of file SpoolesOO.h.
|
protected |
Definition at line 86 of file SpoolesOO.h.
|
protected |
Definition at line 87 of file SpoolesOO.h.
|
protected |
Definition at line 90 of file SpoolesOO.h.
|
protected |
Definition at line 92 of file SpoolesOO.h.
|
protected |
Definition at line 93 of file SpoolesOO.h.
|
protected |
Definition at line 94 of file SpoolesOO.h.
|
protected |
Definition at line 95 of file SpoolesOO.h.
|
protected |
Definition at line 96 of file SpoolesOO.h.