MergeSolver< T > Class Template Reference

#include <MergeSolver.H>

Inheritance diagram for MergeSolver< T >:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<class T>
class MergeSolver< T >

Elliptic solver using the BiCGStab algorithm that turns the bottom solve into a single grid and solves on one processor if it can.

Public Member Functions

 MergeSolver ()
virtual ~MergeSolver ()
virtual void setHomogeneous (bool a_homogeneous)
virtual void define (LinearOp< LevelData< T > > *a_operator, bool a_homogeneous=false)
virtual void setConvergenceMetrics (Real a_metric, Real a_tolerance)
 Set a convergence metric, along with solver tolerance, if desired.
virtual void solve (LevelData< T > &a_phi, const LevelData< T > &a_rhs)
 only overridden virtual function

Constructor & Destructor Documentation

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

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


Member Function Documentation

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

reset whether the solver is homogeneous.

Reimplemented from BiCGStabSolver< LevelData< T > >.

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

define the solver. a_op is the linear operator. a_homogeneous is whether the solver uses homogeneous boundary conditions.

Reimplemented from BiCGStabSolver< LevelData< T > >.

template<class T>
virtual void MergeSolver< T >::setConvergenceMetrics ( Real  a_metric,
Real  a_tolerance 
) [inline, virtual]

Set a convergence metric, along with solver tolerance, if desired.

Default implementation does nothing, since there are probably cases (liked direct solves), where this has no real meaning.

Reimplemented from BiCGStabSolver< LevelData< T > >.

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


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

Generated on Mon Apr 24 04:03:57 2017 for Chombo + EB by  doxygen 1.5.5