#include <BiCGStabSolver.H>
Inheritance diagram for BiCGStabSolver< T >:


Public Member Functions | |
| BiCGStabSolver () | |
| virtual | ~BiCGStabSolver () |
| 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) |
| solve the equation. | |
| virtual void | setConvergenceMetrics (Real a_metric, Real a_tolerance) |
| Set a convergence metric, along with solver tolerance, if desired. | |
Public Attributes | |
| bool | m_homogeneous |
| LinearOp< T > * | m_op |
| int | m_imax |
| int | m_verbosity |
| Real | m_eps |
| Real | m_convergenceMetric |
| Real | m_hang |
| int | m_exitStatus |
| Real | m_small |
| int | m_numRestarts |
| int | m_normType |
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
reset whether the solver is homogeneous. Implements LinearSolver< T >. Reimplemented in MergeSolver< T >. |
|
||||||||||||||||
|
define the solver. a_op is the linear operator. a_homogeneous is whether the solver uses homogeneous boundary conditions. Implements LinearSolver< T >. Reimplemented in MergeSolver< T >. |
|
||||||||||||||||
|
solve the equation.
Implements LinearSolver< T >. Reimplemented in MergeSolver< T >. |
|
||||||||||||||||
|
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 LinearSolver< T >. Reimplemented in MergeSolver< T >. |
|
|||||
|
public member data: whether the solver is restricted to homogeneous boundary conditions |
|
|||||
|
public member data: operator to solve. |
|
|||||
|
public member data: maximum number of iterations |
|
|||||
|
public member data: how much screen out put the user wants. set = 0 for no output. |
|
|||||
|
public member data: solver tolerance |
|
|||||
|
public member data: solver convergence metric -- if negative, use initial residual; if positive, then use m_convergenceMetric |
|
|||||
|
public member data: minium norm of solution should change per iterations |
|
|||||
|
public member data: set = -1 if solver exited for an unknown reason set = 1 if solver converged to tolerance set = 2 if rho = 0 set = 3 if max number of restarts was reached |
|
|||||
|
public member data: what the algorithm should consider "close to zero" |
|
|||||
|
public member data: number of times the algorithm can restart |
|
|||||
|
public member data: norm to be used when evaluation convergence. 0 is max norm, 1 is L(1), 2 is L(2) and so on. |
1.3.6