RelaxSolver< T > Class Template Reference

#include <RelaxSolver.H>

Inheritance diagram for RelaxSolver< T >:

Inheritance graph
[legend]
Collaboration diagram for RelaxSolver< T >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<class T>
class RelaxSolver< T >

Iterative solver which only uses the operator's preconditioner. Probably only useful as a bottom solver.

Public Member Functions

 RelaxSolver ()
virtual ~RelaxSolver ()
virtual void setHomogeneous (bool a_homogeneous)
virtual void define (LinearOp< T > *a_op, bool a_homogeneous)
virtual void solve (T &a_phi, const T &a_rhs)

Public Attributes

bool m_homogeneous
LinearOp< T > * m_op
int m_imax
int m_verbosity
Real m_eps

Constructor & Destructor Documentation

template<class T>
RelaxSolver< T >::RelaxSolver (  )  [inline]

template<class T>
RelaxSolver< T >::~RelaxSolver (  )  [inline, virtual]


Member Function Documentation

template<class T>
virtual void RelaxSolver< T >::setHomogeneous ( bool  a_homogeneous  )  [inline, virtual]

Set whether the solver uses only homogeneous boundary conditions

Implements LinearSolver< T >.

References RelaxSolver< T >::m_homogeneous.

template<class T>
void RelaxSolver< T >::define ( LinearOp< T > *  a_op,
bool  a_homogeneous 
) [inline, virtual]

Define the solver. a_op is the linear operator.

Implements LinearSolver< T >.

References RelaxSolver< T >::m_homogeneous, and RelaxSolver< T >::m_op.

template<class T>
void RelaxSolver< T >::solve ( T &  a_phi,
const T &  a_rhs 
) [inline, virtual]


Member Data Documentation

template<class T>
bool RelaxSolver< T >::m_homogeneous

public member data: whether or not to use inhomogeneous boundary conditions.

Referenced by RelaxSolver< T >::define(), RelaxSolver< T >::setHomogeneous(), and RelaxSolver< T >::solve().

template<class T>
LinearOp<T>* RelaxSolver< T >::m_op

public member data: linear operator.

Referenced by RelaxSolver< T >::define(), and RelaxSolver< T >::solve().

template<class T>
int RelaxSolver< T >::m_imax

public member data: maximum number of iterations

Referenced by RelaxSolver< T >::solve().

template<class T>
int RelaxSolver< T >::m_verbosity

public member data: how much screen output user wants

Referenced by RelaxSolver< T >::solve().

template<class T>
Real RelaxSolver< T >::m_eps

public member data: solver tolerance

Referenced by RelaxSolver< T >::solve().


The documentation for this class was generated from the following file:

Generated on Tue Apr 14 14:23:57 2009 for Chombo + EB by  doxygen 1.5.5