All Classes Namespaces Files Functions Variables Typedefs Enumerator Pages
Opm::NewtonIterationBlackoilInterface Class Referenceabstract

Interface class for (linear) solvers for the fully implicit black-oil system. More...

#include <NewtonIterationBlackoilInterface.hpp>

Inheritance diagram for Opm::NewtonIterationBlackoilInterface:
Opm::ISTLSolver< MatrixBlockType, VectorBlockType > Opm::ISTLSolver< MatrixBlockType, VectorBlockType, pressureIndex > Opm::NewtonIterationBlackoilCPR Opm::NewtonIterationBlackoilInterleaved Opm::NewtonIterationBlackoilInterleavedImpl< np, ScalarT > Opm::NewtonIterationBlackoilSimple

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. More...
 
virtual int iterations () const =0
 
virtual const boost::any & parallelInformation () const =0
 Get the information about the parallelization of the grid.
 

Detailed Description

Interface class for (linear) solvers for the fully implicit black-oil system.

Member Function Documentation

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.

Parameters
[in]residualresidual object containing A and b.
Returns
the solution x

Implemented in Opm::ISTLSolver< MatrixBlockType, VectorBlockType, pressureIndex >, Opm::ISTLSolver< MatrixBlockType, VectorBlockType >, Opm::NewtonIterationBlackoilInterleavedImpl< np, ScalarT >, Opm::NewtonIterationBlackoilInterleaved, Opm::NewtonIterationBlackoilCPR, and Opm::NewtonIterationBlackoilSimple.

virtual int Opm::NewtonIterationBlackoilInterface::iterations ( ) const
pure virtual

The documentation for this class was generated from the following file: