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

BiCGStab(L) method. Plus de détails...

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

+ Graphe d'héritage de Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >:
+ Graphe de collaboration de Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >:

Types publics

using backend_type = Backend
 
using BackendType = Backend
 
typedef Backend::vector vector
 
typedef Backend::value_type value_type
 
typedef Backend::params backend_params
 
typedef math::scalar_of< value_type >::type scalar_type
 
typedef math::inner_product_impl< typenamemath::rhs_of< value_type >::type >::return_type coef_type
 
using params = BiCGStabLSolverParams
 

Fonctions membres publiques

 BiCGStabLSolver (size_t n, const params &prm=params(), const backend_params &backend_prm=backend_params(), const InnerProduct &inner_product=InnerProduct())
 Preallocates necessary data structures for the system of size n.
 
template<class Matrix, class Precond, class Vec1, class Vec2>
SolverResult operator() (const Matrix &A, const Precond &P, const Vec1 &rhs, Vec2 &&x) const
 
template<class Precond, class Vec1, class Vec2>
SolverResult operator() (const Precond &P, const Vec1 &rhs, Vec2 &&x) const
 Computes the solution for the given right-hand side.
 
size_t bytes () const
 Memory used in bytes.
 

Attributs publics

params prm
 

Fonctions membres privées

template<class Vec>
scalar_type norm (const Vec &x) const
 

Attributs privés

size_t n
 
std::shared_ptr< vectorRt
 
std::shared_ptr< vectorX
 
std::shared_ptr< vectorB
 
std::shared_ptr< vectorT
 
std::vector< std::shared_ptr< vector > > R
 
std::vector< std::shared_ptr< vector > > U
 
multi_array< coef_type, 2 > MZa
 
multi_array< coef_type, 2 > MZb
 
std::vector< coef_typeY0
 
std::vector< coef_typeYL
 
Alina::detail::QRFactorization< coef_typeqr
 
InnerProduct inner_product
 

Amis

std::ostream & operator<< (std::ostream &os, const BiCGStabLSolver &s)
 

Description détaillée

template<class Backend, class InnerProduct = detail::default_inner_product>
class Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >

BiCGStab(L) method.

Définition à la ligne 150 du fichier BiCGStabLSolver.h.

Documentation des définitions de type membres

◆ backend_params

template<class Backend, class InnerProduct = detail::default_inner_product>
typedef Backend::params Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::backend_params

Définition à la ligne 160 du fichier BiCGStabLSolver.h.

◆ backend_type

template<class Backend, class InnerProduct = detail::default_inner_product>
using Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::backend_type = Backend

Définition à la ligne 155 du fichier BiCGStabLSolver.h.

◆ BackendType

template<class Backend, class InnerProduct = detail::default_inner_product>
using Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::BackendType = Backend

Définition à la ligne 156 du fichier BiCGStabLSolver.h.

◆ coef_type

template<class Backend, class InnerProduct = detail::default_inner_product>
typedef math::inner_product_impl<typenamemath::rhs_of<value_type>::type>::return_type Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::coef_type

Définition à la ligne 165 du fichier BiCGStabLSolver.h.

◆ params

template<class Backend, class InnerProduct = detail::default_inner_product>
using Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::params = BiCGStabLSolverParams

Définition à la ligne 167 du fichier BiCGStabLSolver.h.

◆ scalar_type

template<class Backend, class InnerProduct = detail::default_inner_product>
typedef math::scalar_of<value_type>::type Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::scalar_type

Définition à la ligne 162 du fichier BiCGStabLSolver.h.

◆ value_type

template<class Backend, class InnerProduct = detail::default_inner_product>
typedef Backend::value_type Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::value_type

Définition à la ligne 159 du fichier BiCGStabLSolver.h.

◆ vector

template<class Backend, class InnerProduct = detail::default_inner_product>
typedef Backend::vector Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::vector

Définition à la ligne 158 du fichier BiCGStabLSolver.h.

Documentation des constructeurs et destructeur

◆ BiCGStabLSolver()

template<class Backend, class InnerProduct = detail::default_inner_product>
Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::BiCGStabLSolver ( size_t n,
const params & prm = params(),
const backend_params & backend_prm = backend_params(),
const InnerProduct & inner_product = InnerProduct() )
inline

Preallocates necessary data structures for the system of size n.

Définition à la ligne 170 du fichier BiCGStabLSolver.h.

Documentation des fonctions membres

◆ bytes()

template<class Backend, class InnerProduct = detail::default_inner_product>
size_t Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::bytes ( ) const
inlinevirtual

Memory used in bytes.

Implémente Arcane::Alina::SolverBase.

Définition à la ligne 444 du fichier BiCGStabLSolver.h.

◆ norm()

template<class Backend, class InnerProduct = detail::default_inner_product>
template<class Vec>
scalar_type Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::norm ( const Vec & x) const
inlineprivate

Définition à la ligne 500 du fichier BiCGStabLSolver.h.

◆ operator()() [1/2]

template<class Backend, class InnerProduct = detail::default_inner_product>
template<class Matrix, class Precond, class Vec1, class Vec2>
SolverResult Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::operator() ( const Matrix & A,
const Precond & P,
const Vec1 & rhs,
Vec2 && x ) const
inline

Définition à la ligne 212 du fichier BiCGStabLSolver.h.

◆ operator()() [2/2]

template<class Backend, class InnerProduct = detail::default_inner_product>
template<class Precond, class Vec1, class Vec2>
SolverResult Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::operator() ( const Precond & P,
const Vec1 & rhs,
Vec2 && x ) const
inline

Computes the solution for the given right-hand side.

Computes the solution for the given right-hand side rhs. The system matrix is the same that was used for the setup of the preconditioner P. Returns the number of iterations made and the achieved residual as a std::tuple. The solution vector x provides initial approximation in input and holds the computed solution on output.

Définition à la ligne 439 du fichier BiCGStabLSolver.h.

Documentation des fonctions amies et associées

◆ operator<<

template<class Backend, class InnerProduct = detail::default_inner_product>
std::ostream & operator<< ( std::ostream & os,
const BiCGStabLSolver< Backend, InnerProduct > & s )
friend

Définition à la ligne 469 du fichier BiCGStabLSolver.h.

Documentation des données membres

◆ B

template<class Backend, class InnerProduct = detail::default_inner_product>
std::shared_ptr<vector> Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::B
mutableprivate

Définition à la ligne 487 du fichier BiCGStabLSolver.h.

◆ inner_product

template<class Backend, class InnerProduct = detail::default_inner_product>
InnerProduct Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::inner_product
private

Définition à la ligne 497 du fichier BiCGStabLSolver.h.

◆ MZa

template<class Backend, class InnerProduct = detail::default_inner_product>
multi_array<coef_type, 2> Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::MZa
mutableprivate

Définition à la ligne 493 du fichier BiCGStabLSolver.h.

◆ MZb

template<class Backend, class InnerProduct = detail::default_inner_product>
multi_array<coef_type, 2> Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::MZb
private

Définition à la ligne 493 du fichier BiCGStabLSolver.h.

◆ n

template<class Backend, class InnerProduct = detail::default_inner_product>
size_t Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::n
private

Définition à la ligne 483 du fichier BiCGStabLSolver.h.

◆ prm

template<class Backend, class InnerProduct = detail::default_inner_product>
params Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::prm

Définition à la ligne 479 du fichier BiCGStabLSolver.h.

◆ qr

template<class Backend, class InnerProduct = detail::default_inner_product>
Alina::detail::QRFactorization<coef_type> Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::qr
mutableprivate

Définition à la ligne 495 du fichier BiCGStabLSolver.h.

◆ R

template<class Backend, class InnerProduct = detail::default_inner_product>
std::vector<std::shared_ptr<vector> > Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::R
mutableprivate

Définition à la ligne 490 du fichier BiCGStabLSolver.h.

◆ Rt

template<class Backend, class InnerProduct = detail::default_inner_product>
std::shared_ptr<vector> Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::Rt
mutableprivate

Définition à la ligne 485 du fichier BiCGStabLSolver.h.

◆ T

template<class Backend, class InnerProduct = detail::default_inner_product>
std::shared_ptr<vector> Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::T
mutableprivate

Définition à la ligne 488 du fichier BiCGStabLSolver.h.

◆ U

template<class Backend, class InnerProduct = detail::default_inner_product>
std::vector<std::shared_ptr<vector> > Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::U
mutableprivate

Définition à la ligne 491 du fichier BiCGStabLSolver.h.

◆ X

template<class Backend, class InnerProduct = detail::default_inner_product>
std::shared_ptr<vector> Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::X
mutableprivate

Définition à la ligne 486 du fichier BiCGStabLSolver.h.

◆ Y0

template<class Backend, class InnerProduct = detail::default_inner_product>
std::vector<coef_type> Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::Y0
mutableprivate

Définition à la ligne 494 du fichier BiCGStabLSolver.h.

◆ YL

template<class Backend, class InnerProduct = detail::default_inner_product>
std::vector<coef_type> Arcane::Alina::BiCGStabLSolver< Backend, InnerProduct >::YL
private

Définition à la ligne 494 du fichier BiCGStabLSolver.h.


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