Amesos Package Browser (Single Doxygen Collection) Development
Private Member Functions | Private Attributes
Amesos_Pardiso Class Reference

Amesos_Pardiso: Interface to the PARDISO package. More...

#include <Amesos_Pardiso.h>

Inheritance diagram for Amesos_Pardiso:
Inheritance graph
[legend]

List of all members.

Private Member Functions

int CheckError (const int error) const
const Epetra_MapMap () const
const Epetra_RowMatrixMatrix () const
Epetra_MapSerialMap ()
Epetra_RowMatrixSerialMatrix ()
Epetra_CrsMatrixSerialCrsMatrix ()
Epetra_ImportImporter ()
int ConvertToSerial ()
int ConvertToPardiso ()
int PerformSymbolicFactorization ()
int PerformNumericFactorization ()

Private Attributes

Teuchos::RCP< Epetra_MapSerialMap_
Teuchos::RCP< Epetra_CrsMatrixSerialCrsMatrix_
Teuchos::RCP< Epetra_RowMatrixSerialMatrix_
Teuchos::RCP< Epetra_ImportImporter_
const Epetra_MapMap_
const Epetra_RowMatrixMatrix_
bool UseTranspose_
 If true, the transpose of A is used.
const Epetra_LinearProblemProblem_
 Pointer to the linear system problem.
int MtxConvTime_
 Quick access pointers to the internal timing data.
int MtxRedistTime_
int VecRedistTime_
int SymFactTime_
int NumFactTime_
int SolveTime_
std::vector< double > aa_
std::vector< int > ia_
std::vector< int > ja_
bool pardiso_initialized_
int mtype_
void * pt_ [64]
int iparm_ [64]
int maxfct_
int mnum_
int msglvl_
 Actual matrix for solution phase (always 1)
int nrhs_
 Output level.
 Amesos_Pardiso (const Epetra_LinearProblem &LinearProblem)
 Constructor.
 ~Amesos_Pardiso ()
 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 PARDISO 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_Pardiso: Interface to the PARDISO package.

Author:
Marzio Sala, SNL 9214
Date:
Last updated on June 2005

Definition at line 57 of file Amesos_Pardiso.h.


Constructor & Destructor Documentation

Amesos_Pardiso::Amesos_Pardiso ( const Epetra_LinearProblem LinearProblem)

Constructor.

Definition at line 61 of file Amesos_Pardiso.cpp.

Amesos_Pardiso::~Amesos_Pardiso ( )

Destructor.

Definition at line 112 of file Amesos_Pardiso.cpp.


Member Function Documentation

int Amesos_Pardiso::SymbolicFactorization ( ) [virtual]

Performs SymbolicFactorization on the matrix A.

Implements Amesos_BaseSolver.

Definition at line 360 of file Amesos_Pardiso.cpp.

int Amesos_Pardiso::NumericFactorization ( ) [virtual]

Performs NumericFactorization on the matrix A.

Implements Amesos_BaseSolver.

Definition at line 402 of file Amesos_Pardiso.cpp.

int Amesos_Pardiso::Solve ( void  ) [virtual]

Solves A X = B (or AT X = B)

Implements Amesos_BaseSolver.

Definition at line 423 of file Amesos_Pardiso.cpp.

const Epetra_LinearProblem* Amesos_Pardiso::GetProblem ( ) const [inline, virtual]

Get a pointer to the Problem.

Implements Amesos_BaseSolver.

Definition at line 89 of file Amesos_Pardiso.h.

bool Amesos_Pardiso::MatrixShapeOK ( ) const [virtual]

Returns true if PARDISO can handle this matrix shape.

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

Implements Amesos_BaseSolver.

Definition at line 347 of file Amesos_Pardiso.cpp.

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

SetUseTranpose()

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

Implements Amesos_BaseSolver.

Definition at line 102 of file Amesos_Pardiso.h.

bool Amesos_Pardiso::UseTranspose ( ) const [inline, virtual]

Returns the current UseTranspose setting.

Implements Amesos_BaseSolver.

Definition at line 105 of file Amesos_Pardiso.h.

const Epetra_Comm& Amesos_Pardiso::Comm ( ) const [inline, virtual]

Returns a pointer to the Epetra_Comm communicator associated with this matrix.

Implements Amesos_BaseSolver.

Definition at line 108 of file Amesos_Pardiso.h.

int Amesos_Pardiso::SetParameters ( Teuchos::ParameterList ParameterList) [virtual]

Set parameters from the input parameters list, returns 0 if successful.

Implements Amesos_BaseSolver.

Definition at line 218 of file Amesos_Pardiso.cpp.

int Amesos_Pardiso::NumSymbolicFact ( ) const [inline, virtual]

Returns the number of symbolic factorizations performed by this object.

Implements Amesos_BaseSolver.

Definition at line 114 of file Amesos_Pardiso.h.

int Amesos_Pardiso::NumNumericFact ( ) const [inline, virtual]

Returns the number of numeric factorizations performed by this object.

Implements Amesos_BaseSolver.

Definition at line 117 of file Amesos_Pardiso.h.

int Amesos_Pardiso::NumSolve ( ) const [inline, virtual]

Returns the number of solves performed by this object.

Implements Amesos_BaseSolver.

Definition at line 120 of file Amesos_Pardiso.h.

void Amesos_Pardiso::PrintTiming ( ) const [virtual]

Prints timing information.

Implements Amesos_BaseSolver.

Definition at line 549 of file Amesos_Pardiso.cpp.

void Amesos_Pardiso::PrintStatus ( ) const [virtual]

Prints information about the factorization and solution phases.

Implements Amesos_BaseSolver.

Definition at line 515 of file Amesos_Pardiso.cpp.

void Amesos_Pardiso::GetTiming ( Teuchos::ParameterList TimingParameterList) const [inline, virtual]

Extracts timing information from the current solver and places it in the parameter list.

Reimplemented from Amesos_BaseSolver.

Definition at line 129 of file Amesos_Pardiso.h.

int Amesos_Pardiso::CheckError ( const int  error) const [private]

Definition at line 598 of file Amesos_Pardiso.cpp.

const Epetra_Map& Amesos_Pardiso::Map ( ) const [inline, private]

Definition at line 137 of file Amesos_Pardiso.h.

const Epetra_RowMatrix& Amesos_Pardiso::Matrix ( ) const [inline, private]

Definition at line 142 of file Amesos_Pardiso.h.

Epetra_Map& Amesos_Pardiso::SerialMap ( ) [inline, private]

Definition at line 147 of file Amesos_Pardiso.h.

Epetra_RowMatrix& Amesos_Pardiso::SerialMatrix ( ) [inline, private]

Definition at line 152 of file Amesos_Pardiso.h.

Epetra_CrsMatrix& Amesos_Pardiso::SerialCrsMatrix ( ) [inline, private]

Definition at line 157 of file Amesos_Pardiso.h.

Epetra_Import& Amesos_Pardiso::Importer ( ) [inline, private]

Definition at line 162 of file Amesos_Pardiso.h.

int Amesos_Pardiso::ConvertToSerial ( ) [private]

Definition at line 133 of file Amesos_Pardiso.cpp.

int Amesos_Pardiso::ConvertToPardiso ( ) [private]

Definition at line 168 of file Amesos_Pardiso.cpp.

int Amesos_Pardiso::PerformSymbolicFactorization ( ) [private]

Definition at line 273 of file Amesos_Pardiso.cpp.

int Amesos_Pardiso::PerformNumericFactorization ( ) [private]

Definition at line 322 of file Amesos_Pardiso.cpp.


Member Data Documentation

Definition at line 172 of file Amesos_Pardiso.h.

Definition at line 173 of file Amesos_Pardiso.h.

Definition at line 174 of file Amesos_Pardiso.h.

Definition at line 175 of file Amesos_Pardiso.h.

const Epetra_Map* Amesos_Pardiso::Map_ [private]

Definition at line 177 of file Amesos_Pardiso.h.

Definition at line 178 of file Amesos_Pardiso.h.

If true, the transpose of A is used.

Definition at line 181 of file Amesos_Pardiso.h.

Pointer to the linear system problem.

Definition at line 183 of file Amesos_Pardiso.h.

Quick access pointers to the internal timing data.

Definition at line 186 of file Amesos_Pardiso.h.

Definition at line 186 of file Amesos_Pardiso.h.

Definition at line 186 of file Amesos_Pardiso.h.

Definition at line 187 of file Amesos_Pardiso.h.

Definition at line 187 of file Amesos_Pardiso.h.

Definition at line 187 of file Amesos_Pardiso.h.

std::vector<double> Amesos_Pardiso::aa_ [private]

Definition at line 190 of file Amesos_Pardiso.h.

std::vector<int> Amesos_Pardiso::ia_ [private]

Definition at line 191 of file Amesos_Pardiso.h.

std::vector<int> Amesos_Pardiso::ja_ [private]

Definition at line 192 of file Amesos_Pardiso.h.

Definition at line 194 of file Amesos_Pardiso.h.

int Amesos_Pardiso::mtype_ [private]

Definition at line 195 of file Amesos_Pardiso.h.

void* Amesos_Pardiso::pt_[64] [private]

Definition at line 196 of file Amesos_Pardiso.h.

int Amesos_Pardiso::iparm_[64] [private]

Definition at line 198 of file Amesos_Pardiso.h.

int Amesos_Pardiso::maxfct_ [private]

Definition at line 199 of file Amesos_Pardiso.h.

int Amesos_Pardiso::mnum_ [private]

Definition at line 200 of file Amesos_Pardiso.h.

int Amesos_Pardiso::msglvl_ [private]

Actual matrix for solution phase (always 1)

Definition at line 201 of file Amesos_Pardiso.h.

int Amesos_Pardiso::nrhs_ [private]

Output level.

Definition at line 202 of file Amesos_Pardiso.h.


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