Interface class for (linear) solvers for the fully implicit black-oil system. More...
#include <NewtonIterationBlackoilInterface.hpp>
Public Types | |
typedef LinearisedBlackoilResidual::ADB::V | SolutionVector |
Return type for linearSolve(). A simple, non-ad vector type. | |
Public Member Functions | |
virtual SolutionVector | computeNewtonIncrement (const LinearisedBlackoilResidual &residual) const =0 |
Solve the linear system Ax = b, with A being the combined derivative matrix of the residual and b being the residual itself. | |
virtual int | iterations () const =0 |
virtual const boost::any & | parallelInformation () const =0 |
Get the information about the parallelization of the grid. |
Interface class for (linear) solvers for the fully implicit black-oil system.
virtual SolutionVector Opm::NewtonIterationBlackoilInterface::computeNewtonIncrement | ( | const LinearisedBlackoilResidual & | residual | ) | const [pure virtual] |
Solve the linear system Ax = b, with A being the combined derivative matrix of the residual and b being the residual itself.
[in] | residual | residual object containing A and b. |
Implemented in Opm::ISTLSolver< MatrixBlockType, VectorBlockType, pressureIndex >, Opm::NewtonIterationBlackoilCPR, Opm::NewtonIterationBlackoilInterleavedImpl< np, ScalarT >, Opm::NewtonIterationBlackoilInterleaved, Opm::NewtonIterationBlackoilSimple, and Opm::ISTLSolver< MatrixBlockType, VectorBlockType >.
virtual int Opm::NewtonIterationBlackoilInterface::iterations | ( | ) | const [pure virtual] |
Implemented in Opm::ISTLSolver< MatrixBlockType, VectorBlockType, pressureIndex >, Opm::NewtonIterationBlackoilCPR, Opm::NewtonIterationBlackoilInterleavedImpl< np, ScalarT >, Opm::NewtonIterationBlackoilInterleaved, Opm::NewtonIterationBlackoilSimple, and Opm::ISTLSolver< MatrixBlockType, VectorBlockType >.