Opm::ISTLUtility::CPRSelector< M, X, Y, P > Struct Template Reference

A traits class for selecting the types of the preconditioner. More...

#include <CPRPreconditioner.hpp>

Public Types

typedef Dune::Amg::SequentialInformation ParallelInformation
 The information about the parallelization and communication.
 
typedef Dune::MatrixAdapter< M, X, Y > Operator
 The operator type;.
 
typedef Dune::SeqILU0< M, X, X > EllipticPreconditioner
 The type of the preconditioner used for the elliptic part.
 
typedef std::unique_ptr< EllipticPreconditionerEllipticPreconditionerPointer
 The type of the unique pointer to the preconditioner of the elliptic part.
 
typedef EllipticPreconditioner Smoother
 type of AMG used to precondition the elliptic system.
 
typedef Dune::Amg::AMG< Operator, X, Smoother, ParallelInformationAMG
 

Static Public Member Functions

static OperatormakeOperator (const M &m, const P &)
 creates an Operator from the matrix More...
 

Detailed Description

template<class M, class X, class Y, class P>
struct Opm::ISTLUtility::CPRSelector< M, X, Y, P >

A traits class for selecting the types of the preconditioner.

Template Parameters
MThe type of the matrix.
XThe type of the domain of the linear problem.
YThe type of the range of the linear problem.
PThe type of the parallel information.

Member Function Documentation

◆ makeOperator()

template<class M , class X , class Y , class P >
static Operator* Opm::ISTLUtility::CPRSelector< M, X, Y, P >::makeOperator ( const M m,
const P &   
)
inlinestatic

creates an Operator from the matrix

Parameters
MThe matrix to use.
pThe parallel information to use.

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