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

Sparse approximate interface smoother. Plus de détails...

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

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

Types publics

typedef Backend::value_type value_type
 
typedef Backend::matrix_diagonal matrix_diagonal
 
typedef math::scalar_of< value_type >::type scalar_type
 
typedef Alina::detail::empty_params params
 Relaxation parameters.
 

Fonctions membres publiques

template<class Matrix>
 SPAI0Relaxation (const Matrix &A, const params &, const typename Backend::params &backend_prm)
 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
 
size_t bytes () const
 Memory used in bytes.
 

Attributs publics

std::shared_ptr< matrix_diagonalM
 

Description détaillée

template<class Backend>
struct Arcane::Alina::SPAI0Relaxation< Backend >

Sparse approximate interface smoother.

The inverse matrix is approximated with diagonal matrix.

Paramètres du template
BackendBackend for temporary structures allocation.
Voir également
[Broker2002]

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

Documentation des définitions de type membres

◆ matrix_diagonal

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

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

◆ params

Relaxation parameters.

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

◆ scalar_type

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

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

◆ value_type

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

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

Documentation des constructeurs et destructeur

◆ SPAI0Relaxation()

template<class Backend>
template<class Matrix>
Arcane::Alina::SPAI0Relaxation< Backend >::SPAI0Relaxation ( const Matrix & A,
const params & ,
const typename Backend::params & backend_prm )
inline

Constructs smoother for the system matrix.

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

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

Références Arcane::arccoreParallelFor().

+ Voici le graphe d'appel pour cette fonction :

Documentation des fonctions membres

◆ apply()

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

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

◆ apply_post()

template<class Backend>
template<class Matrix, class VectorRHS, class VectorX, class VectorTMP>
void Arcane::Alina::SPAI0Relaxation< 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 1929 du fichier Relaxation.h.

◆ apply_pre()

template<class Backend>
template<class Matrix, class VectorRHS, class VectorX, class VectorTMP>
void Arcane::Alina::SPAI0Relaxation< 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 1920 du fichier Relaxation.h.

◆ bytes()

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

Memory used in bytes.

Implémente Arcane::Alina::RelaxationBase.

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

Documentation des données membres

◆ M

template<class Backend>
std::shared_ptr<matrix_diagonal> Arcane::Alina::SPAI0Relaxation< Backend >::M

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


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