Opm::BlackoilModelEbos< TypeTag >::WellModelMatrixAdapter< M, X, Y, WellModel, overlapping > Class Template Reference

Adapter to turn a matrix into a linear operator. More...

#include <BlackoilModelEbos.hpp>

Inheritance diagram for Opm::BlackoilModelEbos< TypeTag >::WellModelMatrixAdapter< M, X, Y, WellModel, overlapping >:

Public Types

enum  { category }
 
typedef M matrix_type
 
typedef X domain_type
 
typedef Y range_type
 
typedef X::field_type field_type
 
typedef Dune::CollectiveCommunication< Grid > communication_type
 

Public Member Functions

 WellModelMatrixAdapter (const M &A, const WellModel &wellMod, const boost::any &parallelInformation=boost::any())
 constructor: just store a reference to a matrix
 
virtual void apply (const X &x, Y &y) const
 
virtual void applyscaleadd (field_type alpha, const X &x, Y &y) const
 
virtual const matrix_typegetmat () const
 
communication_type * comm ()
 

Protected Attributes

const matrix_typeA_
 
const WellModel & wellMod_
 
std::unique_ptr< communication_type > comm_
 

Detailed Description

template<class TypeTag>
template<class M, class X, class Y, class WellModel, bool overlapping>
class Opm::BlackoilModelEbos< TypeTag >::WellModelMatrixAdapter< M, X, Y, WellModel, overlapping >

Adapter to turn a matrix into a linear operator.

Adapts a matrix to the assembled linear operator interface

Member Enumeration Documentation

◆ anonymous enum

template<class TypeTag >
template<class M , class X , class Y , class WellModel , bool overlapping>
anonymous enum
Enumerator
category 

The solver category.


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