This class solves the fully implicit black-oil system by simply concatenating the Jacobian matrices and passing the resulting system to a linear solver. More...
#include <NewtonIterationBlackoilSimple.hpp>
Public Member Functions | |
NewtonIterationBlackoilSimple (const ParameterGroup ¶m, const boost::any ¶llelInformation=boost::any()) | |
Construct a system solver. | |
virtual SolutionVector | computeNewtonIncrement (const LinearisedBlackoilResidual &residual) const |
Solve the system of linear equations Ax = b, with A being the combined derivative matrix of the residual and b being the residual itself. | |
virtual int | iterations () const |
virtual const boost::any & | parallelInformation () const |
This class solves the fully implicit black-oil system by simply concatenating the Jacobian matrices and passing the resulting system to a linear solver.
The linear solver used can be passed in as a constructor argument.
Opm::NewtonIterationBlackoilSimple::NewtonIterationBlackoilSimple | ( | const ParameterGroup & | param, | |
const boost::any & | parallelInformation_arg = boost::any() | |||
) |
Construct a system solver.
[in] | param | parameters controlling the behaviour and choice of linear solver. |
[in] | parallelInformation | In the case of a parallel run with dune-istl the information about the parallelization. |
[in] | linsolver | linear solver to use |
[in] | parallelInformation | In the case of a parallel run with dune-istl the information about the parallelization. |
NewtonIterationBlackoilSimple::SolutionVector Opm::NewtonIterationBlackoilSimple::computeNewtonIncrement | ( | const LinearisedBlackoilResidual & | residual | ) | const [virtual] |
Solve the system of linear equations Ax = b, with A being the combined derivative matrix of the residual and b being the residual itself.
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. |
Implements Opm::NewtonIterationBlackoilInterface.
virtual int Opm::NewtonIterationBlackoilSimple::iterations | ( | ) | const [inline, virtual] |
Implements Opm::NewtonIterationBlackoilInterface.
const boost::any & Opm::NewtonIterationBlackoilSimple::parallelInformation | ( | ) | const [virtual] |
Get the information about the parallelization of the grid.
Implements Opm::NewtonIterationBlackoilInterface.