1This file is out of date. Is has not been refactored to use
Amesos_Status.
36#include "Epetra_LinearProblem.h"
37#include "Epetra_Time.h"
39#include "Epetra_MpiComm.h"
41#include "Epetra_Comm.h"
43#include "Epetra_CrsGraph.h"
Amesos_BaseSolver: A pure virtual class for direct solution of real-valued double-precision operators...
Amesos_Btf: Factors and solves a matrix after converting it to block triangular form.
Amesos_Btf(const Epetra_LinearProblem &LinearProblem)
Amesos_Btf Constructor.
void PrintTiming()
Print timing information.
int SymbolicFactorization()
Performs SymbolicFactorization on the matrix A.
int NumSolve() const
Returns the number of solves performed by this object.
int NumericFactorization()
Performs NumericFactorization on the matrix A.
const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this matrix.
int NumNumericFact() const
Returns the number of numeric factorizations performed by this object.
const Epetra_LinearProblem * GetProblem() const
Get a pointer to the Problem.
~Amesos_Btf(void)
Amesos_Btf Destructor.
bool MatrixShapeOK() const
Returns true if BTF can handle this matrix shape.
const Epetra_LinearProblem * Problem_
bool ComputeTrueResidual_
bool UseTranspose() const
Returns the current UseTranspose setting.
int Solve()
Solves A X = B (or AT X = B)
int SetParameters(Teuchos::ParameterList &ParameterList)
Updates internal variables.
int NumSymbolicFact() const
Returns the number of symbolic factorizations performed by this object.
void PrintStatus()
Print information about the factorization and solution phases.
int SetUseTranspose(bool UseTranspose)
SetUseTranpose(true) causes Solve() To compute A^T X = B.
Amesos_Status: Container for some status variables.