My Project
|
Public Types | |
using | Base = LinearOperatorExtra< X, Y > |
using | field_type = typename Base::field_type |
using | PressureMatrix = typename Base::PressureMatrix |
![]() | |
using | field_type = typename X::field_type |
using | PressureMatrix = Dune::BCRSMatrix< MatrixBlock< field_type, 1, 1 > > |
Public Member Functions | |
WellModelAsLinearOperator (const WellModel &wm) | |
void | apply (const X &x, Y &y) const override |
apply operator to x: ![]() | |
void | applyscaleadd (field_type alpha, const X &x, Y &y) const override |
apply operator to x, scale and add: ![]() | |
Dune::SolverCategory::Category | category () const override |
Category for operator. | |
void | addWellPressureEquations (PressureMatrix &jacobian, const X &weights, const bool use_well_weights) const override |
void | addWellPressureEquationsStruct (PressureMatrix &jacobian) const override |
int | getNumberOfExtraEquations () const override |
Protected Attributes | |
const WellModel & | wellMod_ |
|
inlineoverridevirtual |
Implements Opm::LinearOperatorExtra< X, Y >.
|
inlineoverridevirtual |
Implements Opm::LinearOperatorExtra< X, Y >.
|
inlineoverride |
Category for operator.
This is somewhat tricky, I consider this operator sequential since (unlike WellModelMatrixAdapter) it does not do any projections etc. but only forwards the calls to the sequential well model.
|
inlineoverridevirtual |
Implements Opm::LinearOperatorExtra< X, Y >.