weightedresidreductioncriterion.hh
Go to the documentation of this file.
Base class for all convergence criteria which only defines an virtual API. Definition: convergencecriterion.hh:56 Convergence criterion which looks at the weighted absolute value of the residual. Definition: weightedresidreductioncriterion.hh:59 Scalar residualReductionTolerance() const Returns the tolerance of the residual reduction of the solution. Definition: weightedresidreductioncriterion.hh:123 bool converged() const Returns true if and only if the convergence criterion is met. Definition: weightedresidreductioncriterion.hh:198 WeightedResidualReductionCriterion(const CollectiveCommunication &comm, const Vector &residWeights, Scalar residualReductionTolerance, Scalar fixPointTolerance, Scalar absResidualTolerance=0.0, Scalar maxError=0.0) Definition: weightedresidreductioncriterion.hh:68 WeightedResidualReductionCriterion(const CollectiveCommunication &comm) Definition: weightedresidreductioncriterion.hh:64 void print(Scalar iter, std::ostream &os=std::cout) const Prints the information about the convergence behaviour for the current iteration. Definition: weightedresidreductioncriterion.hh:241 Scalar residualAccuracy() const Returns the reduction of the weighted maximum of the residual compared to the initial solution. Definition: weightedresidreductioncriterion.hh:142 void setInitial(const Vector &curSol, const Vector &curResid) Set the initial solution of the linear system of equations. Definition: weightedresidreductioncriterion.hh:169 Scalar residualWeight(size_t outerIdx, unsigned innerIdx) const Return the relative weight of a row of the residual. Definition: weightedresidreductioncriterion.hh:107 void printInitial(std::ostream &os=std::cout) const Prints the initial information about the convergence behaviour. Definition: weightedresidreductioncriterion.hh:228 bool failed() const Returns true if the convergence criterion cannot be met anymore because the solver has broken down. Definition: weightedresidreductioncriterion.hh:210 Scalar fixPointTolerance() const Returns the maximum tolerated difference between two iterations to be met before a solution is consid... Definition: weightedresidreductioncriterion.hh:156 Scalar accuracy() const Returns the accuracy of the solution at the last update. Definition: weightedresidreductioncriterion.hh:222 void setResidualTolerance(Scalar tol) Sets the maximum absolute tolerated residual. Definition: weightedresidreductioncriterion.hh:129 void setResidualWeight(const Vector &residWeightVec) Sets the relative weight of each row of the residual. Definition: weightedresidreductioncriterion.hh:98 void setFixPointTolerance(Scalar tol) Sets the fix-point tolerance. Definition: weightedresidreductioncriterion.hh:148 void update(const Vector &curSol, const Vector &, const Vector &curResid) Definition: weightedresidreductioncriterion.hh:187 Scalar fixPointAccuracy() const Returns the weighted maximum of the difference between the last two iterative solutions. Definition: weightedresidreductioncriterion.hh:163 void setResidualReductionTolerance(Scalar tol) Sets the residual reduction tolerance. Definition: weightedresidreductioncriterion.hh:117 Scalar absResidualTolerance() const Returns the maximum absolute tolerated residual. Definition: weightedresidreductioncriterion.hh:135 Define some base class for the convergence criteria of the linear solvers of DUNE-ISTL. Definition: blackoilboundaryratevector.hh:37 |