|
Amesos Package Browser (Single Doxygen Collection)
Development
|
Go to the documentation of this file.
39 #ifndef AMESOS_TAUCS_H
40 #define AMESOS_TAUCS_H
69 #ifndef DOXYGEN_SHOULD_SKIP_THIS
const Epetra_RowMatrix & Matrix() const
Returns a reference to the linear system matrix.
const Epetra_LinearProblem * GetProblem() const
Returns the Epetra_LinearProblem.
int MtxConvTime_
Quick accessor pointer to internal timing data.
const Epetra_RowMatrix * Matrix_
int NumSolve_
Number of solves.
bool UseTranspose_
If true, the transpose of A is used.
Amesos_NoCopiable: Simple class to prevent the usage of copy constructor and operator =.
Epetra_Import & Importer()
Returns a reference to the already allocated Importer.
Amesos_BaseSolver: A pure virtual class for direct solution of real-valued double-precision operators...
int NumSolve() const
Returns the number of solves performed by this object.
bool UseTranspose() const
Returns the current UseTranspose setting.
int NumSymbolicFact_
Number of symbolic factorization phases.
void PrintTiming() const
Prints timing information.
int NumSymbolicFact() const
Returns the number of symbolic factorizations performed by this object.
const Epetra_LinearProblem * Problem_
Pointer to the linear system problem.
Epetra_Map & SerialMap()
Returns a reference to the already allocated SerialMap.
int NumericFactorization()
Performs NumericFactorization on the matrix A.
~Amesos_Taucs(void)
Default destructor.
Teuchos::RCP< Epetra_CrsMatrix > SerialCrsMatrix_
virtual const Epetra_Map & RowMatrixRowMap() const=0
bool MatrixShapeOK() const
Returns true if the solver can handle this matrix shape.
int ConvertToSerial()
Constructs a matrix with all rows on processor 0.
int NumNumericFact_
Number of numeric factorization phases.
Amesos_Utils: Collections of basic utilities.
Teuchos::RCP< Epetra_RowMatrix > SerialMatrix_
Amesos_Taucs(const Epetra_LinearProblem &LinearProblem)
Default constructor.
int Solve()
Solves A X = B (or AT x = B)
Amesos_Control: Container for some control variables.
Amesos_Taucs: An interface to the TAUCS package.
int SetParameters(Teuchos::ParameterList &ParameterList)
Updates internal variables.
void GetTiming(Teuchos::ParameterList &TimingParameterList) const
Extracts timing information from the current solver and places it in the parameter list.
int SymbolicFactorization()
Performs SymbolicFactorization on the matrix A.
void GetTiming(Teuchos::ParameterList &list) const
Load up the current timing information into the parameter list.
Teuchos::RCP< Amesos_Taucs_Pimpl > PrivateTaucsData_
int PerformSymbolicFactorization()
Performs the symbolic factorization.
const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this operator.
void PrintStatus() const
Prints status information.
const Epetra_Map & Map() const
Returns a reference to the RowMatrixRowMap().
Amesos_Time: Container for timing information.
Epetra_RowMatrix & SerialMatrix()
Returns a reference to the SerialMatrix.
int SetUseTranspose(bool UseTranspose)
Amesos_Taucs supports only symmetric matrices, hence transpose is irrelevant, but harmless.
int ConvertToTaucs()
Converts the Epetra_RowMatrix into TAUCS format.
Teuchos::RCP< Epetra_Import > Importer_
Epetra_CrsMatrix & SerialCrsMatrix()
Returns a reference to the already SerialMatrix as Crs (if allocated).
Teuchos::RCP< Epetra_Map > SerialMap_
int PerformNumericFactorization()
Performs the numeric factorization.
int NumNumericFact() const
Returns the number of numeric factorizations performed by this object.
Amesos_Status: Container for some status variables.