#include <Amesos_BTF.h>
Inheritance diagram for Amesos_Btf:
Public Member Functions | |
Constructor methods | |
| Amesos_Btf (const Epetra_LinearProblem &LinearProblem) | |
| Amesos_Btf Constructor. | |
| ~Amesos_Btf (void) | |
| Amesos_Btf Destructor. | |
Mathematical functions. | |
| int | SymbolicFactorization () |
| Performs SymbolicFactorization on the matrix A. | |
| int | NumericFactorization () |
| Performs NumericFactorization on the matrix A. | |
| int | Solve () |
| Solves A X = B (or AT X = B). | |
Additional methods required to support the Epetra_Operator interface. | |
| const Epetra_LinearProblem * | GetProblem () const |
| Get a pointer to the Problem. | |
| bool | MatrixShapeOK () const |
| Returns true if BTF can handle this matrix shape. | |
| int | SetUseTranspose (bool UseTranspose) |
| SetUseTranpose(true) causes Solve() To compute A^T X = B. | |
| bool | UseTranspose () const |
| Returns the current UseTranspose setting. | |
| const Epetra_Comm & | Comm () const |
| Returns a pointer to the Epetra_Comm communicator associated with this matrix. | |
| int | SetParameters (Teuchos::ParameterList &ParameterList) |
| Updates internal variables. | |
| void | PrintTiming () |
| Print timing information. | |
| void | PrintStatus () |
| Print information about the factorization and solution phases. | |
Amesos_Btf:
|
|
Amesos_Btf Constructor. Creates an Amesos_Btf instance, using an Epetra_LinearProblem, passing in an already-defined Epetra_LinearProblem object. Note: The operator in LinearProblem must be an Epetra_RowMatrix. |
|
|
Amesos_Btf Destructor. Completely deletes an Amesos_Btf object. |
|
|
Returns true if BTF can handle this matrix shape. Returns true if the matrix shape is one that BTF can handle. BTF only works with square matrices. Implements Amesos_BaseSolver. |
|
|
Performs NumericFactorization on the matrix A.
Implements Amesos_BaseSolver. |
|
|
Updates internal variables. <br >Preconditions:
<br >Postconditions:
Implements Amesos_BaseSolver. |
|
|
SetUseTranpose(true) causes Solve() To compute A^T X = B.
Implements Amesos_BaseSolver. |
|
|
Solves A X = B (or AT X = B).
Foreach block i:
For each block j
Compute x_i -= A_{i,j} x_j
Call Solve(x_i,b_i)
Broadcast x_i
Implements Amesos_BaseSolver. |
|
|
Performs SymbolicFactorization on the matrix A.
Implements Amesos_BaseSolver. |
1.3.9.1