istlpreconditionerwrappers.hh File Reference

Provides wrapper classes for the (non-AMG) preconditioners provided by dune-istl. More...

#include <ewoms/common/propertysystem.hh>
#include <ewoms/common/parametersystem.hh>
#include <dune/istl/preconditioners.hh>

Go to the source code of this file.

Macros

#define EWOMS_WRAP_ISTL_PRECONDITIONER(PREC_NAME, ISTL_PREC_TYPE)
 
#define EWOMS_WRAP_ISTL_SIMPLE_PRECONDITIONER(PREC_NAME, ISTL_PREC_TYPE)
 

Functions

 Ewoms::Properties::NEW_PROP_TAG (Scalar)
 Property to specify the type of scalar values. More...
 
 Ewoms::Properties::NEW_PROP_TAG (JacobianMatrix)
 Type of the global jacobian matrix. More...
 
 Ewoms::Properties::NEW_PROP_TAG (OverlappingMatrix)
 
 Ewoms::Properties::NEW_PROP_TAG (OverlappingVector)
 
 Ewoms::Properties::NEW_PROP_TAG (PreconditionerOrder)
 The order of the sequential preconditioner.
 
 Ewoms::Properties::NEW_PROP_TAG (PreconditionerRelaxation)
 The relaxation factor of the preconditioner.
 

Detailed Description

Provides wrapper classes for the (non-AMG) preconditioners provided by dune-istl.

In conjunction with a suitable solver backend, preconditioner wrappers work by specifying the "PreconditionerWrapper" property:

SET_TYPE_PROP(YourTypeTag, PreconditionerWrapper,
Ewoms::Linear::PreconditionerWrapper$PRECONDITIONER<TypeTag>);

Where the choices possible for '$PRECONDITIONER' are:

  • Jacobi: A Jacobi preconditioner
  • GaussSeidel: A Gauss-Seidel preconditioner
  • SSOR: A symmetric successive overrelaxation (SSOR) preconditioner
  • SOR: A successive overrelaxation (SOR) preconditioner
  • ILUn: An ILU(n) preconditioner
  • ILU0: A specialized (and optimized) ILU(0) preconditioner

Function Documentation

◆ NEW_PROP_TAG() [1/2]

Ewoms::Properties::NEW_PROP_TAG ( Scalar  )

Property to specify the type of scalar values.

The type of scalar values.

◆ NEW_PROP_TAG() [2/2]

Ewoms::Properties::NEW_PROP_TAG ( JacobianMatrix  )

Type of the global jacobian matrix.

Specifies the type of a global Jacobian matrix.