AbstractISTLSolver.hpp
Go to the documentation of this file.
200 ss << "Full linear solver tolerance not achieved. The reduction is:" << result.reduction << " after "
virtual ~AbstractISTLSolver()=default virtual void setActiveSolver(int num)=0 Set the active solver by its index. virtual int iterations() const =0 Get the number of iterations used in the last solve. Dune::OwnerOverlapCopyCommunication< int, int > CommunicationType Definition: AbstractISTLSolver.hpp:48 virtual void getResidual(Vector &b) const =0 Get the residual vector. typename SparseMatrixAdapter::IstlMatrix Matrix Definition: AbstractISTLSolver.hpp:55 virtual const CommunicationType * comm() const =0 Get the communication object used by the solver. virtual void setMatrix(const SparseMatrixAdapter &M)=0 Set the matrix for the solver. virtual int getSolveCount() const =0 Get the count of how many times the solver has been called. virtual int numAvailableSolvers() const =0 Get the number of available solvers. GetPropType< TypeTag, Properties::SparseMatrixAdapter > SparseMatrixAdapter Definition: AbstractISTLSolver.hpp:53 virtual void eraseMatrix()=0 Signals that the memory for the matrix internally in the solver could be erased. virtual void prepare(const Matrix &M, Vector &b)=0 Prepare the solver with the given matrix and right-hand side vector. virtual void prepare(const SparseMatrixAdapter &M, Vector &b)=0 Prepare the solver with the given sparse matrix and right-hand side vector. GetPropType< TypeTag, Properties::GlobalEqVector > Vector Definition: AbstractISTLSolver.hpp:54 static bool checkConvergence(const Dune::InverseOperatorResult &result, const FlowLinearSolverParameters ¶meters) Check the convergence of the linear solver. Definition: AbstractISTLSolver.hpp:194 Definition: blackoilboundaryratevector.hh:39 Dune::InverseOperatorResult InverseOperatorResult Definition: GpuBridge.hpp:32 typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(.... Definition: propertysystem.hh:233 This class carries all parameters for the NewtonIterationBlackoilInterleaved class. Definition: FlowLinearSolverParameters.hpp:95 bool ignoreConvergenceFailure_ Definition: FlowLinearSolverParameters.hpp:107 double relaxed_linear_solver_reduction_ Definition: FlowLinearSolverParameters.hpp:97 |