convergencecriterion.hh
Go to the documentation of this file.
103 virtual void update(const Vector& curSol, const Vector& changeIndicator, const Vector& curResid) = 0;
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 Scalar accuracy() const =0 Returns the accuracy of the solution at the last update. 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 ~ConvergenceCriterion() Destructor. Definition: convergencecriterion.hh:69 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 Definition: blackoilboundaryratevector.hh:37 |