SG++-Doxygen-Documentation
|
#include <BiCGStab.hpp>
Public Member Functions | |
BiCGStab (size_t imax, double epsilon) | |
Std-Constructor. More... | |
virtual void | solve (sgpp::base::OperationMatrix &SystemMatrix, sgpp::base::DataVector &alpha, sgpp::base::DataVector &b, bool reuse=false, bool verbose=false, double max_threshold=-1.0) |
max_threashold is ignored in this solver More... | |
virtual | ~BiCGStab () |
Std-Destructor. More... | |
Public Member Functions inherited from sgpp::solver::SLESolver | |
SLESolver (size_t imax, double epsilon) | |
Std-Constructor. More... | |
virtual | ~SLESolver () |
Std-Destructor. More... | |
Public Member Functions inherited from sgpp::solver::SGSolver | |
double | getEpsilon () |
gets the the epsilon, that is used in the SGSolver More... | |
size_t | getNumberIterations () |
function that returns the number of needed solve steps More... | |
double | getResiduum () |
function the returns the residuum (current or final), error of the solver More... | |
void | setEpsilon (double eps) |
resets the epsilon, that is used in the SGSolver More... | |
void | setMaxIterations (size_t nIterations) |
resets the number of maximum iterations More... | |
SGSolver (size_t nMaximumIterations, double epsilon) | |
Std-Constructor. More... | |
virtual | ~SGSolver () |
Std-Destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from sgpp::solver::SGSolver | |
double | myEpsilon |
epsilon needed in the, e.g. final error in the iterative solver, or a timestep More... | |
size_t | nIterations |
Number of Iterations needed for the solve. More... | |
size_t | nMaxIterations |
Number of maximum iterations for cg. More... | |
double | residuum |
residuum More... | |
sgpp::solver::BiCGStab::BiCGStab | ( | size_t | imax, |
double | epsilon | ||
) |
Std-Constructor.
|
virtual |
Std-Destructor.
|
virtual |
max_threashold is ignored in this solver
Reference: http://www.iue.tuwien.ac.at/phd/heinreichsberger/node70.html http://www.numerik.math.tu-graz.ac.at/kurse/lgs/SIMNET6.pdf http://netlib.org
Implements sgpp::solver::SLESolver.
References sgpp::base::DataVector::add(), sgpp::base::DataVector::axpy(), sgpp::base::DataVector::dotProduct(), sgpp::base::DataVector::getSize(), sgpp::base::OperationMatrix::mult(), sgpp::base::DataVector::mult(), sgpp::solver::SGSolver::myEpsilon, sgpp::solver::SGSolver::nIterations, sgpp::solver::SGSolver::nMaxIterations, friedman::p, chess::r, sgpp::solver::SGSolver::residuum, create_scripts::s, and sgpp::base::DataVector::setAll().