Amesos Development
Amesos_CSparse Class Reference

Amesos_CSparse: Interface to the CSparse package. More...

#include <Amesos_CSparse.h>

Inheritance diagram for Amesos_CSparse:
Inheritance graph
[legend]
Collaboration diagram for Amesos_CSparse:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Amesos_CSparse (const Epetra_LinearProblem &LinearProblem)
 Constructor.
 ~Amesos_CSparse ()
 Destructor.
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)
const Epetra_LinearProblemGetProblem () const
 Get a pointer to the Problem.
bool MatrixShapeOK () const
 Returns true if CSparse can handle this matrix shape.
int SetUseTranspose (bool UseTranspose)
 SetUseTranpose()
bool UseTranspose () const
 Returns the current UseTranspose setting.
const Epetra_CommComm () const
 Returns a pointer to the Epetra_Comm communicator associated with this matrix.
int SetParameters (Teuchos::ParameterList &ParameterList)
 Set parameters from the input parameters list, returns 0 if successful.
int NumSymbolicFact () const
 Returns the number of symbolic factorizations performed by this object.
int NumNumericFact () const
 Returns the number of numeric factorizations performed by this object.
int NumSolve () const
 Returns the number of solves performed by this object.
void PrintTiming () const
 Prints timing information.
void PrintStatus () const
 Prints information about the factorization and solution phases.
void GetTiming (Teuchos::ParameterList &TimingParameterList) const
 Extracts timing information from the current solver and places it in the parameter list.

Detailed Description

Amesos_CSparse: Interface to the CSparse package.

Author:
Siva Rajamanickam
Date:
Mar 2012

Member Function Documentation

bool Amesos_CSparse::MatrixShapeOK ( ) const [virtual]

Returns true if CSparse can handle this matrix shape.

Returns true if the matrix shape is one that CSparse can handle. CSparse only works with square matrices.

Implements Amesos_BaseSolver.

References GetProblem().

int Amesos_CSparse::SetUseTranspose ( bool  UseTranspose) [inline, virtual]

SetUseTranpose()

If SetUseTranspose() is set to true, $A^T X = B$ is computed.

Implements Amesos_BaseSolver.

References UseTranspose().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends