Adapter to turn a matrix into a linear operator. More...
#include <BlackoilModelEbos.hpp>
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 ¶llelInformation=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_type & | getmat () const |
communication_type * | comm () |
Protected Attributes | |
const matrix_type & | A_ |
const WellModel & | wellMod_ |
std::unique_ptr < communication_type > | comm_ |
Adapter to turn a matrix into a linear operator.
Adapts a matrix to the assembled linear operator interface
anonymous enum |