#include <directsolveroperator.h>
Public Member Functions | |
DirectSolverOperator (Epetra_RowMatrix &A, Teuchos::ParameterList ¶ms) | |
~DirectSolverOperator () | |
int | SetUseTranspose (bool use_transpose) |
int | Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const |
int | ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const |
double | NormInf () const |
const char * | Label () const |
bool | UseTranspose () const |
bool | HasNormInf () const |
const Epetra_Comm & | Comm () const |
const Epetra_Map & | OperatorDomainMap () const |
const Epetra_Map & | OperatorRangeMap () const |
Private Attributes | |
const Epetra_Map & | domain_map_ |
const Epetra_Map & | range_map_ |
const Epetra_Comm & | comm_ |
bool | use_transpose_ |
Epetra_LinearProblem * | linear_problem_ |
Amesos_BaseSolver * | amesos_solver_ |
Definition at line 27 of file directsolveroperator.h.
DirectSolverOperator::DirectSolverOperator | ( | Epetra_RowMatrix & | A, | |
Teuchos::ParameterList & | params | |||
) |
Constructor
A | Epetra_RowMatrix to factorise. The resulting operator also inherits the domain and range maps and the communicator from it. | |
params | A Teuchos::ParameterList containing parameters for the direct solver. |
Definition at line 24 of file directsolveroperator.cpp.
References amesos_solver_, linear_problem_, and rExit.
DirectSolverOperator::~DirectSolverOperator | ( | ) |
Definition at line 47 of file directsolveroperator.cpp.
References amesos_solver_, and linear_problem_.
int DirectSolverOperator::Apply | ( | const Epetra_MultiVector & | X, | |
Epetra_MultiVector & | Y | |||
) | const |
Apply is not implemented
Definition at line 56 of file directsolveroperator.cpp.
int DirectSolverOperator::ApplyInverse | ( | const Epetra_MultiVector & | X, | |
Epetra_MultiVector & | Y | |||
) | const |
Direct solve of A * X = Y
Definition at line 60 of file directsolveroperator.cpp.
References amesos_solver_, linear_problem_, OperatorDomainMap(), and OperatorRangeMap().
Here is the call graph for this function:
const Epetra_Comm & DirectSolverOperator::Comm | ( | ) | const |
bool DirectSolverOperator::HasNormInf | ( | ) | const |
Definition at line 92 of file directsolveroperator.cpp.
const char * DirectSolverOperator::Label | ( | ) | const |
Definition at line 84 of file directsolveroperator.cpp.
double DirectSolverOperator::NormInf | ( | ) | const |
Definition at line 80 of file directsolveroperator.cpp.
const Epetra_Map & DirectSolverOperator::OperatorDomainMap | ( | ) | const |
Definition at line 100 of file directsolveroperator.cpp.
References domain_map_.
Referenced by ApplyInverse().
const Epetra_Map & DirectSolverOperator::OperatorRangeMap | ( | ) | const |
Definition at line 104 of file directsolveroperator.cpp.
References range_map_.
Referenced by ApplyInverse().
int DirectSolverOperator::SetUseTranspose | ( | bool | use_transpose | ) |
bool DirectSolverOperator::UseTranspose | ( | ) | const |
Amesos_BaseSolver* DirectSolverOperator::amesos_solver_ [private] |
Definition at line 66 of file directsolveroperator.h.
Referenced by ApplyInverse(), DirectSolverOperator(), SetUseTranspose(), UseTranspose(), and ~DirectSolverOperator().
const Epetra_Comm& DirectSolverOperator::comm_ [private] |
const Epetra_Map& DirectSolverOperator::domain_map_ [private] |
Epetra_LinearProblem* DirectSolverOperator::linear_problem_ [private] |
Definition at line 65 of file directsolveroperator.h.
Referenced by ApplyInverse(), DirectSolverOperator(), and ~DirectSolverOperator().
const Epetra_Map& DirectSolverOperator::range_map_ [private] |
bool DirectSolverOperator::use_transpose_ [private] |
Definition at line 64 of file directsolveroperator.h.