23#ifndef OPM_WELLHELPERS_HEADER_INCLUDED
24#define OPM_WELLHELPERS_HEADER_INCLUDED
26#include <dune/istl/bcrsmatrix.hh>
27#include <dune/common/dynmatrix.hh>
31template<
class Scalar>
class ParallelWellInfo;
37namespace wellhelpers {
49template<
typename Scalar>
53 using Block = Dune::DynamicMatrix<Scalar>;
54 using Matrix = Dune::BCRSMatrix<Block>;
60 template<
class X,
class Y>
61 void mv (
const X& x, Y&
y)
const;
64 template<
class X,
class Y>
65 void mmv (
const X& x, Y&
y)
const;
76 const Scalar gravity);
79template<
typename MatrixType,
typename VectorType,
typename Comm>
80void sumDistributedWellEntries(MatrixType& mat,
87template <
class DenseMatrix>
Class encapsulating some information about parallel wells.
Definition ParallelWellInfo.hpp:195
A wrapper around the B matrix for distributed wells.
Definition WellHelpers.hpp:51
void mv(const X &x, Y &y) const
y = A x
Definition WellHelpers.cpp:52
void mmv(const X &x, Y &y) const
y = A x
Definition WellHelpers.cpp:109
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242