Chombo + EB + MF
3.2
|
#include <MergeSolver.H>
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. More... | |
virtual void | solve (LevelData< T > &a_phi, const LevelData< T > &a_rhs) |
only overridden virtual function More... | |
Public Member Functions inherited from BiCGStabSolver< LevelData< T > > | |
BiCGStabSolver () | |
virtual | ~BiCGStabSolver () |
Public Member Functions inherited from LinearSolver< LevelData< T > > | |
virtual | ~LinearSolver () |
Additional Inherited Members | |
Public Attributes inherited from BiCGStabSolver< LevelData< T > > | |
bool | m_homogeneous |
LinearOp< LevelData< T > > * | m_op |
int | m_imax |
int | m_verbosity |
Real | m_eps |
Real | m_reps |
Real | m_convergenceMetric |
Real | m_hang |
int | m_exitStatus |
int | m_iter |
Real | m_residual |
Real | m_initial_residual |
Real | m_small |
int | m_numRestarts |
int | m_normType |
Elliptic solver using the BiCGStab algorithm that turns the bottom solve into a single grid and solves on one processor if it can.
MergeSolver< T >::MergeSolver | ( | ) |
|
inlinevirtual |
|
inlinevirtual |
reset whether the solver is homogeneous.
Reimplemented from BiCGStabSolver< LevelData< T > >.
|
inlinevirtual |
define the solver. a_op is the linear operator. a_homogeneous is whether the solver uses homogeneous boundary conditions.
Reimplemented from BiCGStabSolver< LevelData< T > >.
|
inlinevirtual |
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 > >.
References MergeSolver< T >::solve().
|
virtual |
only overridden virtual function
Reimplemented from BiCGStabSolver< LevelData< T > >.
References CH_TIME, LevelData< T >::copyTo(), LevelData< T >::disjointBoxLayout(), LevelData< T >::ghostVect(), BoxLayout::layoutIterator(), Box::minBox(), BoxLayoutData< T >::nComp(), Box::numPts(), LayoutIterator::ok(), DisjointBoxLayout::physDomain(), and procID().
Referenced by MergeSolver< T >::setConvergenceMetrics().