29 #ifndef AMESOS_DSCPACK_H 30 #define AMESOS_DSCPACK_H 39 #include "Epetra_LinearProblem.h" 40 #include "Epetra_MpiComm.h" 41 #include "Epetra_Import.h" 42 #include "Teuchos_RCP.hpp" 48 #ifndef DOXYGEN_SHOULD_SKIP_THIS const Epetra_Map & DscColMap() const
int NumSymbolicFact_
Number of symbolic factorization phases.
Amesos_Control: Container for some control variables.
RCP< Epetra_Map > DscColMap_
RCP< Epetra_Import > Importer_
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.
const Epetra_LinearProblem * GetProblem() const
Returns the Epetra_LinearProblem.
bool A_and_LU_built
Tells us whether to free them.
Amesos_Dscpack: An object-oriented wrapper for Dscpack.
void PrintStatus() const
Prints information about the factorization and solution phases.
int SetUseTranspose(bool UseTranspose)
If set true, X will be set to the solution of AT X = B (not A X = B)
const Epetra_Map & DscRowMap() const
int NumNumericFact_
Number of numeric factorization phases.
void GetTiming(Teuchos::ParameterList &list) const
Load up the current timing information into the parameter list.
int NumSolve() const
Returns the number of solves performed by this object.
int NumSolve_
Number of solves.
bool UseTranspose() const
Returns the current UseTranspose setting.
const Epetra_LinearProblem * Problem_
Pointer to the linear problem.
Teuchos::RCP< Amesos_Dscpack_Pimpl > PrivateDscpackData_
int SetParameters(Teuchos::ParameterList &ParameterList)
Updates internal variables.
int PerformSymbolicFactorization()
Performs the symbolic factorization.
Amesos_Status: Container for some status variables.
int NumericFactorization()
Performs NumericFactorization on the matrix A.
int NumSymbolicFact() const
Returns the number of symbolic factorizations performed by this object.
int * GlobalStructNewColNum
Amesos_Time: Container for timing information.
bool MatrixShapeOK() const
Returns true if DSCPACK can handle this matrix shape.
Amesos_Dscpack(const Epetra_LinearProblem &LinearProblem)
Amesos_Dscpack Constructor.
const Epetra_Import & Importer() const
~Amesos_Dscpack(void)
Amesos_Dscpack Destructor.
int Solve()
Solves A X = B (or AT x = B)
void PrintTiming() const
Prints timing information.
RCP< Epetra_Map > DscRowMap_
int NumNumericFact() const
Returns the number of numeric factorizations performed by this object.
const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this operator.
int PerformNumericFactorization()
Performs the numeric factorization.
Amesos_BaseSolver: A pure virtual class for direct solution of real-valued double-precision operators...
Amesos_NoCopiable: Simple class to prevent the usage of copy constructor and operator =...
Amesos_Utils: Collections of basic utilities.