fixpointcriterion.hh
Go to the documentation of this file.
Base class for all convergence criteria which only defines an virtual API. Definition: convergencecriterion.hh:56 Provides a convergence criterion for the linear solvers which looks at the weighted maximum of the di... Definition: fixpointcriterion.hh:57 FixPointCriterion(const CollectiveCommunication &comm) Definition: fixpointcriterion.hh:62 void update(const Vector &curSol, const Vector &, const Vector &) override Update the internal members of the convergence criterion with the current solution. Definition: fixpointcriterion.hh:138 Scalar weight(int outerIdx, int innerIdx) const Return the relative weight of a primary variable. Definition: fixpointcriterion.hh:105 void setTolerance(Scalar tol) Set the maximum allowed weighted maximum difference between two iterations. Definition: fixpointcriterion.hh:116 Scalar tolerance() const Return the maximum allowed weighted difference between two iterations for the solution considered to ... Definition: fixpointcriterion.hh:123 FixPointCriterion(const CollectiveCommunication &comm, const Vector &weightVec, Scalar reduction) Definition: fixpointcriterion.hh:65 bool converged() const override Returns true if and only if the convergence criterion is met. Definition: fixpointcriterion.hh:159 void setWeight(const Vector &weightVec) Sets the relative weight of a primary variable. Definition: fixpointcriterion.hh:86 void setInitial(const Vector &curSol, const Vector &) override Set the initial solution of the linear system of equations. Definition: fixpointcriterion.hh:129 Scalar accuracy() const Returns the accuracy of the solution at the last update. Definition: fixpointcriterion.hh:165 Define some base class for the convergence criteria of the linear solvers of DUNE-ISTL. Definition: blackoilboundaryratevector.hh:39 |