#include <Amesos_Superludist.h>
Inheritance diagram for Amesos_Superludist:
Public Member Functions | |
| int | SetParameters (Teuchos::ParameterList &ParameterList) |
| Updates internal variables. | |
| void | PrintTiming () |
| Print various timig. | |
| void | PrintStatus () |
| Print various information about the parameters used by Superludist. | |
Constructor methods | |
| Amesos_Superludist (const Epetra_LinearProblem &LinearProblem) | |
| Amesos_Superludist Constructor. | |
| ~Amesos_Superludist (void) | |
| Amesos_Superludist 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). | |
Atribute set methods | |
| int | SetUseTranspose (bool UseTranspose) |
| Amesos_Superludist does not support transpose at this time. | |
Atribute access functions | |
| const Epetra_LinearProblem * | GetProblem () const |
| Get a pointer to the Problem. | |
| bool | MatrixShapeOK () const |
| Returns true if SUPERLUDIST can handle this matrix shape. | |
| 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. | |
Protected Attributes | |
| bool | ReuseSymbolic_ |
| bool | AddZeroToDiag_ |
| fact_t | FactOption_ |
| bool | Redistribute_ |
| int | MaxProcesses_ |
| int | GridCreated_ |
| int | FactorizationDone_ |
| int | NumRows_ |
| int | NumGlobalNonzeros_ |
| Epetra_Map * | UniformMap_ |
| Epetra_CrsMatrix * | UniformMatrix_ |
| Epetra_Export * | ExportToDist_ |
| Epetra_Import * | ImportToDistributed_ |
| Epetra_Import * | ImportBackToOriginal_ |
| Epetra_RowMatrix * | RowMatrixA_ |
| int | iam_ |
| Epetra_RowMatrix * | SuperluMat_ |
| vector< int > | Ap_ |
| vector< int > | Ai_ |
| vector< double > | Aval_ |
| Epetra_MultiVector * | vecXdistributed_ |
| Epetra_MultiVector * | vecBdistributed_ |
| vector< int > | ColIndicesV_ |
| vector< double > | RowValuesV_ |
| vector< int > | Global_Columns_ |
| SuperMatrix | SuperluA_ |
| ScalePermstruct_t | ScalePermstruct_ |
| LUstruct_t | LUstruct_ |
| SOLVEstruct_t | SOLVEstruct_ |
| int | nprow_ |
| int | npcol_ |
| gridinfo_t | grid_ |
| superlu_options_t | options_ |
| bool | PrintNonzeros_ |
| string | ColPerm_ |
| int * | perm_c_ |
| string | RowPerm_ |
| int * | perm_r_ |
| string | IterRefine_ |
| bool | ReplaceTinyPivot_ |
| bool | Equil_ |
| bool | FactorizationOK_ |
| bool | UseTranspose_ |
| const Epetra_LinearProblem * | Problem_ |
| bool | PrintStatus_ |
| bool | PrintTiming_ |
| int | verbose_ |
| int | debug_ |
| double | NumTime_ |
| double | SolTime_ |
| double | VecTime_ |
| double | MatTime_ |
| double | ConTime_ |
| Epetra_Time | Time |
| int | NumSymbolicFact_ |
| int | NumNumericFact_ |
| int | NumSolve_ |
| bool | ComputeTrueResidual_ |
| bool | ComputeVectorNorms_ |
Amesos_Superludist will solve a linear systems of equations: A X = B using Epetra objects and the Superludist solver library, where A is an Epetra_RowMatrix and X and B are Epetra_MultiVector objects.
Superludist execution can be tuned through a variety of parameters. Amesos_Superludist.h allows control of these parameters through the following named parameters, ignoring parameters with names that it does not recognize. Where possible, the parameters are common to all direct solvers (although some may ignore them). However, some parameters, in particular tuning parameters, are unique to each solver.
|
|
Amesos_Superludist Constructor. Creates an Amesos_Superludist instance, using an Epetra_LinearProblem, passing in an already-defined Epetra_LinearProblem object. Note: The operator in LinearProblem must be an Epetra_RowMatrix. |
|
|
Amesos_Superludist Destructor. Completely deletes an Amesos_Superludist object. |
|
|
Returns true if SUPERLUDIST can handle this matrix shape. Returns true if the matrix shape is one that SUPERLUDIST can handle. SUPERLUDIST 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_Superludist accepts the following parameters:
Implements Amesos_BaseSolver. |
|
|
Amesos_Superludist does not support transpose at this time. returns 0 if UseTranspose is set to false, else 1 (failure) 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:
bugs:
Implements Amesos_BaseSolver. |
1.3.9.1