#include <Amesos_Superlu.h>
Inheritance diagram for Amesos_Superlu:
Public Member Functions | |
Constructor methods | |
| Amesos_Superlu (const Epetra_LinearProblem &LinearProblem) | |
| Amesos_Superlu Constructor. | |
| ~Amesos_Superlu (void) | |
| Amesos_Superlu 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 SUPERLU can handle this matrix shape. | |
| int | SetUseTranspose (bool UseTranspose) |
| SetUseTranpose(true) is more efficient in Amesos_Superlu. | |
| 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. | |
Protected Attributes | |
| SLUData * | data_ |
| double * | DummyArray |
| vector< int > | Ap_ |
| vector< int > | Ai_ |
| vector< double > | Aval_ |
| bool | FactorizationDone_ |
| bool | FactorizationOK_ |
| bool | ReuseSymbolic_ |
| bool | UseTranspose_ |
| int | iam_ |
| int | IsLocal_ |
| int | numentries_ |
| int | NumGlobalElements_ |
| Epetra_Map * | SerialMap_ |
| Epetra_CrsMatrix * | SerialCrsMatrixA_ |
| Epetra_CrsMatrix * | SerialMatrix_ |
| const Epetra_LinearProblem * | Problem_ |
| vector< int > | ColIndicesV_ |
| vector< double > | RowValuesV_ |
| vector< double > | berr_ |
| vector< double > | ferr_ |
| vector< int > | perm_r_ |
| vector< int > | perm_c_ |
| vector< int > | etree_ |
| vector< double > | R_ |
| vector< double > | C_ |
| char | equed_ |
| bool | DestroyBandX_ |
Amesos_Superlu, an object-oriented wrapper for Superlu, will solve a linear systems of equations: A X = B using Epetra objects and the Superlu solver library, where A is an Epetra_RowMatrix and X and B are Epetra_MultiVector objects.
|
|
Amesos_Superlu Constructor. Creates an Amesos_Superlu instance, using an Epetra_LinearProblem, passing in an already-defined Epetra_LinearProblem object. Note: The operator in LinearProblem must be an Epetra_RowMatrix. |
|
|
Amesos_Superlu Destructor. Completely deletes an Amesos_Superlu object. |
|
|
Returns true if SUPERLU can handle this matrix shape. Returns true if the matrix shape is one that SUPERLU can handle. SUPERLU only works with square matrices. Implements Amesos_BaseSolver. |
|
|
Performs NumericFactorization on the matrix A. In addition to performing numeric factorization (and symbolic factorization if necessary) on the matrix A, the call to NumericFactorization() implies that no change will be made to the underlying matrix without a subsequent call to NumericFactorization(). preconditions:
postconditions:
Implements Amesos_BaseSolver. |
|
|
Updates internal variables. <br >Preconditions:
<br >Postconditions:
Amesos_Superlu accepts the following parameters:
Implements Amesos_BaseSolver. |
|
|
SetUseTranpose(true) is more efficient in Amesos_Superlu.
Implements Amesos_BaseSolver. |
|
|
Solves A X = B (or AT X = B). preconditions:
postconditions:
Implements Amesos_BaseSolver. |
|
|
Performs SymbolicFactorization on the matrix A. In addition to performing symbolic factorization on the matrix A, the call to SymbolicFactorization() implies that no change will be made to the non-zero structure of the underlying matrix without a subsequent call to SymbolicFactorization(). preconditions:
postconditions:
Implements Amesos_BaseSolver. |
1.3.9.1