Opm::wellhelpers::ParallelStandardWellB< Scalar > Class Template Reference

A wrapper around the B matrix for distributed wells. More...

#include <WellHelpers.hpp>

Public Types

using Block = Dune::DynamicMatrix< Scalar >
 
using Matrix = Dune::BCRSMatrix< Block >
 

Public Member Functions

 ParallelStandardWellB (const Matrix &B, const ParallelWellInfo &parallel_well_info)
 
template<class X , class Y >
void mv (const X &x, Y &y) const
 y = A x More...
 
template<class X , class Y >
void mmv (const X &x, Y &y) const
 y = A x More...
 

Detailed Description

template<typename Scalar>
class Opm::wellhelpers::ParallelStandardWellB< Scalar >

A wrapper around the B matrix for distributed wells.

For standard wells the B matrix, is basically a multiplication of the equation of the perforated cells followed by a reduction (summation) of these to the well equations.

This class does that in the functions mv and mmv (from the DUNE matrix interface.

Template Parameters
ScalarThe scalar used for the computation.

Member Typedef Documentation

◆ Block

template<typename Scalar >
using Opm::wellhelpers::ParallelStandardWellB< Scalar >::Block = Dune::DynamicMatrix<Scalar>

◆ Matrix

template<typename Scalar >
using Opm::wellhelpers::ParallelStandardWellB< Scalar >::Matrix = Dune::BCRSMatrix<Block>

Constructor & Destructor Documentation

◆ ParallelStandardWellB()

template<typename Scalar >
Opm::wellhelpers::ParallelStandardWellB< Scalar >::ParallelStandardWellB ( const Matrix B,
const ParallelWellInfo parallel_well_info 
)

Member Function Documentation

◆ mmv()

template<typename Scalar >
template<class X , class Y >
void Opm::wellhelpers::ParallelStandardWellB< Scalar >::mmv ( const X &  x,
Y &  y 
) const

y = A x

◆ mv()

template<typename Scalar >
template<class X , class Y >
void Opm::wellhelpers::ParallelStandardWellB< Scalar >::mv ( const X &  x,
Y &  y 
) const

y = A x


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