23#ifndef OPM_WELLHELPERS_HEADER_INCLUDED
24#define OPM_WELLHELPERS_HEADER_INCLUDED
26#include <dune/istl/bcrsmatrix.hh>
27#include <dune/common/dynmatrix.hh>
33template<
class Scalar>
class ParallelWellInfo;
39namespace wellhelpers {
51template<
typename Scalar>
55 using Block = Dune::DynamicMatrix<Scalar>;
56 using Matrix = Dune::BCRSMatrix<Block>;
62 template<
class X,
class Y>
63 void mv (
const X& x, Y&
y)
const;
66 template<
class X,
class Y>
67 void mmv (
const X& x, Y&
y)
const;
78 const Scalar gravity);
81template<
typename MatrixType,
typename VectorType,
typename Comm>
82void sumDistributedWellEntries(MatrixType& mat,
89template <
class DenseMatrix>
Class encapsulating some information about parallel wells.
Definition ParallelWellInfo.hpp:198
A wrapper around the B matrix for distributed wells.
Definition WellHelpers.hpp:53
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 blackoilbioeffectsmodules.hh:43
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:240