Opm::MixedGhostLastMatrixAdapter< M, V, C > Class Template Reference

Adapter to take advantage of the fact that all matrix rows associated with ghost cells are located at the end of the matrix. More...

#include <Operators.hpp>

Inheritance diagram for Opm::MixedGhostLastMatrixAdapter< M, V, C >:
Inheritance graph

Public Member Functions

 MixedGhostLastMatrixAdapter (const M &A, const C &comm)
 constructor: just store a reference to matrix and communicator More...
 
void apply (const V &x, V &y) const override
 
void applyscaleadd (double alpha, const V &x, V &y) const override
 
const M & getmat () const override
 
Dune::SolverCategory::Category category () const override
 

Detailed Description

template<class M, class V, class C>
class Opm::MixedGhostLastMatrixAdapter< M, V, C >

Adapter to take advantage of the fact that all matrix rows associated with ghost cells are located at the end of the matrix.

Note
The underlying mixed-matrix already ignores ghost rows.
Parameters
Mmatrix class
Vvector class
Ccommunicator class

Constructor & Destructor Documentation

◆ MixedGhostLastMatrixAdapter()

template<class M , class V , class C >
Opm::MixedGhostLastMatrixAdapter< M, V, C >::MixedGhostLastMatrixAdapter ( const M &  A,
const C &  comm 
)
inline

constructor: just store a reference to matrix and communicator

Member Function Documentation

◆ apply()

template<class M , class V , class C >
void Opm::MixedGhostLastMatrixAdapter< M, V, C >::apply ( const V &  x,
V &  y 
) const
inlineoverride

◆ applyscaleadd()

template<class M , class V , class C >
void Opm::MixedGhostLastMatrixAdapter< M, V, C >::applyscaleadd ( double  alpha,
const V &  x,
V &  y 
) const
inlineoverride

◆ category()

template<class M , class V , class C >
Dune::SolverCategory::Category Opm::MixedGhostLastMatrixAdapter< M, V, C >::category ( ) const
inlineoverride

◆ getmat()

template<class M , class V , class C >
const M & Opm::MixedGhostLastMatrixAdapter< M, V, C >::getmat ( ) const
inlineoverride

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