bicgstabsolver.hh
Go to the documentation of this file.
Implements a preconditioned stabilized BiCG linear solver. Definition: bicgstabsolver.hh:54 void setConvergenceCriterion(ConvergenceCriterion &crit) Definition: bicgstabsolver.hh:332 void setVerbosity(unsigned value) Set the verbosity level of the linear solver. Definition: bicgstabsolver.hh:96 void setLinearOperator(const LinearOperator *A) Set the matrix "A" of the linear system. Definition: bicgstabsolver.hh:108 bool apply(Vector &x) Run the stabilized BiCG solver and store the result into the "x" vector. Definition: bicgstabsolver.hh:120 unsigned verbosity() const Return the verbosity level of the linear solver. Definition: bicgstabsolver.hh:102 void setMaxIterations(unsigned value) Set the maximum number of iterations before we give up without achieving convergence. Definition: bicgstabsolver.hh:76 unsigned maxIterations() const Return the maximum number of iterations before we give up without achieving convergence. Definition: bicgstabsolver.hh:83 const SolverReport & report() const Definition: bicgstabsolver.hh:337 void setRhs(const Vector *b) Set the right hand side "b" of the linear system. Definition: bicgstabsolver.hh:114 BiCGStabSolver(Preconditioner &preconditioner, ConvergenceCriterion &convergenceCriterion, Dune::ScalarProduct< Vector > &scalarProduct) Definition: bicgstabsolver.hh:59 Base class for all convergence criteria which only defines an virtual API. Definition: convergencecriterion.hh:56 virtual void setInitial(const Vector &curSol, const Vector &curResid)=0 Set the initial solution of the linear system of equations. virtual void update(const Vector &curSol, const Vector &changeIndicator, const Vector &curResid)=0 Update the internal members of the convergence criterion with the current solution. virtual bool failed() const Returns true if the convergence criterion cannot be met anymore because the solver has broken down. Definition: convergencecriterion.hh:115 virtual bool converged() const =0 Returns true if and only if the convergence criterion is met. virtual void printInitial(std::ostream &=std::cout) const Prints the initial information about the convergence behaviour. Definition: convergencecriterion.hh:135 virtual void print(Scalar, std::ostream &=std::cout) const Prints the information about the convergence behaviour for the current iteration. Definition: convergencecriterion.hh:146 Collects summary information about the execution of the linear solver. Definition: linearsolverreport.hh:42 unsigned iterations() const Definition: linearsolverreport.hh:60 void setConverged(bool value) Definition: linearsolverreport.hh:72 const Opm::Timer & timer() const Definition: linearsolverreport.hh:54 A simple class which makes sure that a timer gets stopped if an exception is thrown. Definition: timerguard.hh:41 void start() Start counting the time resources used by the simulation. Definition: timer.hh:62 Define some base class for the convergence criteria of the linear solvers of DUNE-ISTL. Definition: blackoilboundaryratevector.hh:37 |