#include <Amesos_EpetraBaseSolver.h>
Inheritance diagram for Amesos_EpetraBaseSolver:
Public Member Functions | |
| Amesos_EpetraBaseSolver (const Epetra_LinearProblem &Problem) | |
| int | SetInterface (Epetra_RowMatrix *Mat) |
| int | GetRow (int BlockRow, int &NumIndices, int *&RowIndices, int *&ColIndices, double *&Values) |
| int | MatrixType () const |
| int | NumMyRows () const |
| int | NumMyBlockRows () const |
| int | NumGlobalRows () const |
| int | NumMyNonzeros () const |
| int | NumGlobalNonzeros () const |
| int | MaxNumEntries () const |
| int | MyGlobalElements (int i) const |
| int | NumPDEEqns () const |
| int * | GetRowIndices () const |
| int * | GetColIndices () const |
| double * | GetValues () const |
| Epetra_RowMatrix * | RowA () const |
| Epetra_CrsMatrix * | CrsA () const |
| Epetra_VbrMatrix * | VbrA () const |
| int | IndexBase () const |
| const Epetra_LinearProblem * | GetProblem () const |
| Get a pointer to the Problem. | |
| const Epetra_Comm & | Comm () const |
| Returns a pointer to the Epetra_Comm communicator associated with this matrix. | |
| bool | IsLocal () const |
| int | SetIsLocal (const bool flag) |
| int | SetMatrixProperty (const int property) |
| Set the matrix property (unsymmetric, SPD, general symmetric). | |
| int | MatrixProperty () const |
| Returns the matrix property. | |
| Epetra_RowMatrix * | GetMatrix () const |
| Epetra_MultiVector * | GetLHS () const |
| Epetra_MultiVector * | GetRHS () const |
| int | UpdateLHS () |
| bool | MatrixShapeOK () const |
| Returns true if the solver can handle this matrix shape. | |
Amesos_EpetraBaseSolver is a concrete implementation of Amesos_BaseSolver for Epetra_RowMatrix, Epetra_Crsmatrix, and Epetra_VbrMatrix. The class furnishes a GetRow function, which operates in Copy mode for Epetra_RowMatrix, and in View mode (hence faster) for Epetra_CrsMatrix and Epetra_VbrMatrix.
|
|
Returns true if the solver can handle this matrix shape. Returns true if the matrix shape is one that the underlying sparse direct solver can handle. Classes that work only on square matrices should return false for rectangular matrices. Classes that work only on symmetric matrices whould return false for non-symmetric matrices. Implements Amesos_BaseSolver. |
|
|
Set the matrix property (unsymmetric, SPD, general symmetric). Set the matrix property as follows:
|
1.3.9.1