opm-simulators
Opm::SystemPreconditioner< Scalar, ResOp, ResComm > Class Template Reference
Inheritance diagram for Opm::SystemPreconditioner< Scalar, ResOp, ResComm >:
Dune::PreconditionerWithUpdate< SystemVector< Scalar >, SystemVector< Scalar > >

Public Types

using ResFlexibleSolverType = Dune::FlexibleSolver< ResOp >
 
using WellOperator = Dune::MatrixAdapter< WWMatrix< Scalar >, WellVector< Scalar >, WellVector< Scalar > >
 
using WellFlexibleSolverType = Dune::FlexibleSolver< WellOperator >
 

Public Member Functions

 SystemPreconditioner (const SystemMatrix< Scalar > &S, const std::function< ResVector< Scalar >()> &weightsCalculator, int pressureIndex, const Opm::PropertyTree &prm) requires(!isParallel)
 
 SystemPreconditioner (const SystemMatrix< Scalar > &S, const std::function< ResVector< Scalar >()> &weightsCalculator, int pressureIndex, const Opm::PropertyTree &prm, const ResComm &resComm) requires(isParallel)
 
void pre (SystemVector< Scalar > &, SystemVector< Scalar > &) override
 
void post (SystemVector< Scalar > &) override
 
Dune::SolverCategory::Category category () const override
 
void update () override
 
void updateForChangedWellStructure ()
 
bool hasPerfectUpdate () const override
 
void apply (SystemVector< Scalar > &v, const SystemVector< Scalar > &d) override
 

Static Public Attributes

static constexpr bool isParallel = !std::is_same_v<ResComm, Dune::Amg::SequentialInformation>
 
static constexpr auto _0 = Dune::Indices::_0
 
static constexpr auto _1 = Dune::Indices::_1
 

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