combinedcriterion.hh
Go to the documentation of this file.
131 void update(const Vector& curSol, const Vector& changeIndicator, const Vector& curResid) override
Convergence criterion which looks at the absolute value of the residual and fails if the linear solve... Definition: combinedcriterion.hh:56 Scalar accuracy() const override Returns the accuracy of the solution at the last update. Definition: combinedcriterion.hh:157 void setResidualReductionTolerance(Scalar tol) Sets the residual reduction tolerance. Definition: combinedcriterion.hh:78 Scalar absResidualTolerance() const Returns the tolerated maximum of the the infinity norm of the absolute residual. Definition: combinedcriterion.hh:104 CombinedCriterion(const CollectiveCommunication &comm) Definition: combinedcriterion.hh:61 Scalar residualReductionTolerance() const Returns the tolerance of the residual reduction of the solution. Definition: combinedcriterion.hh:84 void print(Scalar iter, std::ostream &os=std::cout) const override Prints the information about the convergence behaviour for the current iteration. Definition: combinedcriterion.hh:175 Scalar absResidual() const Returns the infinity norm of the absolute residual. Definition: combinedcriterion.hh:110 void printInitial(std::ostream &os=std::cout) const override Prints the initial information about the convergence behaviour. Definition: combinedcriterion.hh:163 bool failed() const override Returns true if the convergence criterion cannot be met anymore because the solver has broken down. Definition: combinedcriterion.hh:149 Scalar residualReduction() const Returns the reduction of the maximum of the residual compared to the initial solution. Definition: combinedcriterion.hh:91 CombinedCriterion(const CollectiveCommunication &comm, Scalar residualReductionTolerance, Scalar absResidualTolerance=0.0, Scalar maxResidual=0.0) Definition: combinedcriterion.hh:65 void setInitial(const Vector &curSol, const Vector &curResid) override Set the initial solution of the linear system of equations. Definition: combinedcriterion.hh:116 void update(const Vector &curSol, const Vector &changeIndicator, const Vector &curResid) override Update the internal members of the convergence criterion with the current solution. Definition: combinedcriterion.hh:131 bool converged() const override Returns true if and only if the convergence criterion is met. Definition: combinedcriterion.hh:137 void setAbsResidualTolerance(Scalar tol) Sets the maximum absolute tolerated residual. Definition: combinedcriterion.hh:97 Base class for all convergence criteria which only defines an virtual API. Definition: convergencecriterion.hh:56 Define some base class for the convergence criteria of the linear solvers of DUNE-ISTL. Definition: blackoilboundaryratevector.hh:37 |