DirectSolverOperator Class Reference

#include <directsolveroperator.h>

List of all members.

Public Member Functions

 DirectSolverOperator (Epetra_RowMatrix &A, Teuchos::ParameterList &params)
 ~DirectSolverOperator ()
int SetUseTranspose (bool use_transpose)
int Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
int ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
double NormInf () const
const char * Label () const
bool UseTranspose () const
bool HasNormInf () const
const Epetra_Comm & Comm () const
const Epetra_Map & OperatorDomainMap () const
const Epetra_Map & OperatorRangeMap () const

Private Attributes

const Epetra_Map & domain_map_
const Epetra_Map & range_map_
const Epetra_Comm & comm_
bool use_transpose_
Epetra_LinearProblem * linear_problem_
Amesos_BaseSolver * amesos_solver_


Detailed Description

Epetra_Operator wrapper for direct solvers (e.g. Amesos solvers)

Definition at line 27 of file directsolveroperator.h.


Constructor & Destructor Documentation

DirectSolverOperator::DirectSolverOperator ( Epetra_RowMatrix &  A,
Teuchos::ParameterList &  params 
)

Constructor

Parameters:
A Epetra_RowMatrix to factorise. The resulting operator also inherits the domain and range maps and the communicator from it.
params A Teuchos::ParameterList containing parameters for the direct solver.

Definition at line 24 of file directsolveroperator.cpp.

References amesos_solver_, linear_problem_, and rExit.

DirectSolverOperator::~DirectSolverOperator (  ) 

Definition at line 47 of file directsolveroperator.cpp.

References amesos_solver_, and linear_problem_.


Member Function Documentation

int DirectSolverOperator::Apply ( const Epetra_MultiVector &  X,
Epetra_MultiVector &  Y 
) const

Apply is not implemented

Definition at line 56 of file directsolveroperator.cpp.

int DirectSolverOperator::ApplyInverse ( const Epetra_MultiVector &  X,
Epetra_MultiVector &  Y 
) const

Direct solve of A * X = Y

Definition at line 60 of file directsolveroperator.cpp.

References amesos_solver_, linear_problem_, OperatorDomainMap(), and OperatorRangeMap().

Here is the call graph for this function:

const Epetra_Comm & DirectSolverOperator::Comm (  )  const

Definition at line 96 of file directsolveroperator.cpp.

References comm_.

bool DirectSolverOperator::HasNormInf (  )  const

Definition at line 92 of file directsolveroperator.cpp.

const char * DirectSolverOperator::Label (  )  const

Definition at line 84 of file directsolveroperator.cpp.

double DirectSolverOperator::NormInf (  )  const

Definition at line 80 of file directsolveroperator.cpp.

const Epetra_Map & DirectSolverOperator::OperatorDomainMap (  )  const

Definition at line 100 of file directsolveroperator.cpp.

References domain_map_.

Referenced by ApplyInverse().

const Epetra_Map & DirectSolverOperator::OperatorRangeMap (  )  const

Definition at line 104 of file directsolveroperator.cpp.

References range_map_.

Referenced by ApplyInverse().

int DirectSolverOperator::SetUseTranspose ( bool  use_transpose  ) 

Definition at line 52 of file directsolveroperator.cpp.

References amesos_solver_.

bool DirectSolverOperator::UseTranspose (  )  const

Definition at line 88 of file directsolveroperator.cpp.

References amesos_solver_.


Member Data Documentation

Amesos_BaseSolver* DirectSolverOperator::amesos_solver_ [private]

Definition at line 66 of file directsolveroperator.h.

Referenced by ApplyInverse(), DirectSolverOperator(), SetUseTranspose(), UseTranspose(), and ~DirectSolverOperator().

const Epetra_Comm& DirectSolverOperator::comm_ [private]

Definition at line 63 of file directsolveroperator.h.

Referenced by Comm().

const Epetra_Map& DirectSolverOperator::domain_map_ [private]

Definition at line 61 of file directsolveroperator.h.

Referenced by OperatorDomainMap().

Epetra_LinearProblem* DirectSolverOperator::linear_problem_ [private]

Definition at line 65 of file directsolveroperator.h.

Referenced by ApplyInverse(), DirectSolverOperator(), and ~DirectSolverOperator().

const Epetra_Map& DirectSolverOperator::range_map_ [private]

Definition at line 62 of file directsolveroperator.h.

Referenced by OperatorRangeMap().

bool DirectSolverOperator::use_transpose_ [private]

Definition at line 64 of file directsolveroperator.h.


The documentation for this class was generated from the following files:
Generated on Fri Oct 26 13:35:16 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7