Arcane  v4.1.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence du modèle de la structure Arcane::Alina::ILU0Relaxation< Backend >

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/alina/arccore/alina/Relaxation.h>

+ Graphe d'héritage de Arcane::Alina::ILU0Relaxation< Backend >:
+ Graphe de collaboration de Arcane::Alina::ILU0Relaxation< Backend >:

Classes

struct  params
 Relaxation parameters. Plus de détails...
 

Types publics

typedef Backend::value_type value_type
 
typedef Backend::col_type col_type
 
typedef Backend::ptr_type ptr_type
 
typedef Backend::vector vector
 
typedef Backend::matrix matrix
 
typedef Backend::matrix_diagonal matrix_diagonal
 
typedef math::scalar_of< value_type >::type scalar_type
 
typedef Impl::ILUSolver< Backendilu_solve
 

Fonctions membres publiques

template<class Matrix>
 ILU0Relaxation (const Matrix &A, const params &prm, const typename Backend::params &bprm)
 Constructs smoother for the system matrix.
 
template<class Matrix, class VectorRHS, class VectorX, class VectorTMP>
void apply_pre (const Matrix &A, const VectorRHS &rhs, VectorX &x, VectorTMP &tmp) const
 Apply pre-relaxation.
 
template<class Matrix, class VectorRHS, class VectorX, class VectorTMP>
void apply_post (const Matrix &A, const VectorRHS &rhs, VectorX &x, VectorTMP &tmp) const
 Apply post-relaxation.
 
template<class Matrix, class VectorRHS, class VectorX>
void apply (const Matrix &, const VectorRHS &rhs, VectorX &x) const
 Apply post-relaxation.
 
size_t bytes () const
 Memory used in bytes.
 

Attributs publics

struct Arcane::Alina::ILU0Relaxation::params prm
 

Attributs privés

std::shared_ptr< ilu_solveilu
 

Description détaillée

template<class Backend>
struct Arcane::Alina::ILU0Relaxation< Backend >
Note
ILU(0) is a serial algorithm and is only applicable to backends that support matrix row iteration (e.g. backend::builtin or backend::eigen).
Paramètres
BackendBackend for temporary structures allocation.

Définition à la ligne 832 du fichier Relaxation.h.

Documentation des définitions de type membres

◆ col_type

template<class Backend>
typedef Backend::col_type Arcane::Alina::ILU0Relaxation< Backend >::col_type

Définition à la ligne 836 du fichier Relaxation.h.

◆ ilu_solve

template<class Backend>
typedef Impl::ILUSolver<Backend> Arcane::Alina::ILU0Relaxation< Backend >::ilu_solve

Définition à la ligne 843 du fichier Relaxation.h.

◆ matrix

template<class Backend>
typedef Backend::matrix Arcane::Alina::ILU0Relaxation< Backend >::matrix

Définition à la ligne 839 du fichier Relaxation.h.

◆ matrix_diagonal

template<class Backend>
typedef Backend::matrix_diagonal Arcane::Alina::ILU0Relaxation< Backend >::matrix_diagonal

Définition à la ligne 840 du fichier Relaxation.h.

◆ ptr_type

template<class Backend>
typedef Backend::ptr_type Arcane::Alina::ILU0Relaxation< Backend >::ptr_type

Définition à la ligne 837 du fichier Relaxation.h.

◆ scalar_type

template<class Backend>
typedef math::scalar_of<value_type>::type Arcane::Alina::ILU0Relaxation< Backend >::scalar_type

Définition à la ligne 842 du fichier Relaxation.h.

◆ value_type

template<class Backend>
typedef Backend::value_type Arcane::Alina::ILU0Relaxation< Backend >::value_type

Définition à la ligne 835 du fichier Relaxation.h.

◆ vector

template<class Backend>
typedef Backend::vector Arcane::Alina::ILU0Relaxation< Backend >::vector

Définition à la ligne 838 du fichier Relaxation.h.

Documentation des constructeurs et destructeur

◆ ILU0Relaxation()

template<class Backend>
template<class Matrix>
Arcane::Alina::ILU0Relaxation< Backend >::ILU0Relaxation ( const Matrix & A,
const params & prm,
const typename Backend::params & bprm )
inline

Constructs smoother for the system matrix.

Paramètres
AThe system matrix.
prmRelaxation parameters.
backend_prmBackend parameters.

Définition à la ligne 874 du fichier Relaxation.h.

Documentation des fonctions membres

◆ apply()

template<class Backend>
template<class Matrix, class VectorRHS, class VectorX>
void Arcane::Alina::ILU0Relaxation< Backend >::apply ( const Matrix & ,
const VectorRHS & rhs,
VectorX & x ) const
inline

Apply post-relaxation.

Paramètres
ASystem matrix.
rhsRight-hand side.
xSolution vector.
tmpScratch vector.
prmRelaxation parameters.

Définition à la ligne 1020 du fichier Relaxation.h.

◆ apply_post()

template<class Backend>
template<class Matrix, class VectorRHS, class VectorX, class VectorTMP>
void Arcane::Alina::ILU0Relaxation< Backend >::apply_post ( const Matrix & A,
const VectorRHS & rhs,
VectorX & x,
VectorTMP & tmp ) const
inline

Apply post-relaxation.

Paramètres
ASystem matrix.
rhsRight-hand side.
xSolution vector.
tmpScratch vector.
prmRelaxation parameters.

Définition à la ligne 1011 du fichier Relaxation.h.

◆ apply_pre()

template<class Backend>
template<class Matrix, class VectorRHS, class VectorX, class VectorTMP>
void Arcane::Alina::ILU0Relaxation< Backend >::apply_pre ( const Matrix & A,
const VectorRHS & rhs,
VectorX & x,
VectorTMP & tmp ) const
inline

Apply pre-relaxation.

Paramètres
ASystem matrix.
rhsRight-hand side.
xSolution vector.
tmpScratch vector.
prmRelaxation parameters.

Définition à la ligne 1002 du fichier Relaxation.h.

◆ bytes()

template<class Backend>
size_t Arcane::Alina::ILU0Relaxation< Backend >::bytes ( ) const
inlinevirtual

Memory used in bytes.

Implémente Arcane::Alina::RelaxationBase.

Définition à la ligne 1026 du fichier Relaxation.h.

Documentation des données membres

◆ ilu

template<class Backend>
std::shared_ptr<ilu_solve> Arcane::Alina::ILU0Relaxation< Backend >::ilu
private

Définition à la ligne 1033 du fichier Relaxation.h.


La documentation de cette structure a été générée à partir du fichier suivant :