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

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

#include <CPRPreconditioner.hpp>

List of all members.

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
< EllipticPreconditioner
EllipticPreconditionerPointer
 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,
ParallelInformation
AMG

Static Public Member Functions

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

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:
M The type of the matrix.
X The type of the domain of the linear problem.
Y The type of the range of the linear problem.
P The type of the parallel information.

Member Function Documentation

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

creates an Operator from the matrix

Parameters:
M The matrix to use.
p The parallel information to use.

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

Generated on 26 Mar 2018 by  doxygen 1.6.1