PrecondA#

#include <PrecondA.h>

How to cite this class in this doc#

:ref:`PrecondA <class-preconda>`
[PrecondA](#class-preconda)

Detailed description#

Inherits from#

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

duplique
int PrecondA::duplique() const override

Reimplements:

How to cite in this doc:
:ref:`int PrecondA::duplique() const override <public-int-preconda-duplique-const-override>`
[int PrecondA::duplique() const override](#public-int-preconda-duplique-const-override)
get_info
const Type_info * PrecondA::get_info() const override

Donne des informations sur le type de l’ Objet_U .

Reimplements:

How to cite in this doc:
:ref:`const Type_info * PrecondA::get_info() const override <public-const-type-info-ptr-preconda-get-info-const-override>`
[const Type_info * PrecondA::get_info() const override](#public-const-type-info-ptr-preconda-get-info-const-override)
PrecondA
PrecondA::PrecondA()
How to cite in this doc:
:ref:`PrecondA::PrecondA() <public-preconda-preconda>`
[PrecondA::PrecondA()](#public-preconda-preconda)
supporte_matrice_morse_sym
int PrecondA::supporte_matrice_morse_sym() override

returns 1 if the implementation accepts Matrice_Morse_Sym matrices, otherwise 0.

(must be reimplemented if answer is 0)

Reimplements:

How to cite in this doc:
:ref:`int PrecondA::supporte_matrice_morse_sym() override <public-int-preconda-supporte-matrice-morse-sym-override>`
[int PrecondA::supporte_matrice_morse_sym() override](#public-int-preconda-supporte-matrice-morse-sym-override)
taille_memoire
unsigned PrecondA::taille_memoire() const override

Reimplements:

How to cite in this doc:
:ref:`unsigned PrecondA::taille_memoire() const override <public-unsigned-preconda-taille-memoire-const-override>`
[unsigned PrecondA::taille_memoire() const override](#public-unsigned-preconda-taille-memoire-const-override)
~PrecondA
PrecondA::~PrecondA()
How to cite in this doc:
:ref:`PrecondA::~PrecondA() <public-preconda-dtor-preconda>`
[PrecondA::~PrecondA()](#public-preconda-dtor-preconda)
cree_instance
Objet_U * PrecondA::cree_instance()
How to cite in this doc:
:ref:`Objet_U * PrecondA::cree_instance() <public-static-objet-u-ptr-preconda-cree-instance>`
[Objet_U * PrecondA::cree_instance()](#public-static-objet-u-ptr-preconda-cree-instance)
info
const Type_info * PrecondA::info()
How to cite in this doc:
:ref:`const Type_info * PrecondA::info() <public-static-const-type-info-ptr-preconda-info>`
[const Type_info * PrecondA::info()](#public-static-const-type-info-ptr-preconda-info)
self_cast
const PrecondA & PrecondA::self_cast(const Objet_U &)
How to cite in this doc:
:ref:`const PrecondA & PrecondA::self_cast(const Objet_U &) <public-static-const-preconda-ref-preconda-self-cast-const-objet-u-ref>`
[const PrecondA & PrecondA::self_cast(const Objet_U &)](#public-static-const-preconda-ref-preconda-self-cast-const-objet-u-ref)
self_cast
PrecondA & PrecondA::self_cast(Objet_U &)
How to cite in this doc:
:ref:`PrecondA & PrecondA::self_cast(Objet_U &) <public-static-preconda-ref-preconda-self-cast-objet-u-ref>`
[PrecondA & PrecondA::self_cast(Objet_U &)](#public-static-preconda-ref-preconda-self-cast-objet-u-ref)
preconditionner_
int PrecondA::preconditionner_(const Matrice_Base &, const DoubleVect &src, DoubleVect &solution) override

Calcule la solution du systeme lineaire: A * solution = b avec la methode de relaxation PrecondA .

Reimplements:

References
How to cite in this doc:
:ref:`int PrecondA::preconditionner_(const Matrice_Base &, const DoubleVect &src, DoubleVect &solution) override <protected-int-preconda-preconditionner-underscore-const-matrice-base-ref-const-doublevect-ref-src-doublevect-ref-solution-override>`
[int PrecondA::preconditionner_(const Matrice_Base &, const DoubleVect &src, DoubleVect &solution) override](#protected-int-preconda-preconditionner-underscore-const-matrice-base-ref-const-doublevect-ref-src-doublevect-ref-solution-override)
prepare_
void PrecondA::prepare_(const Matrice_Base &, const DoubleVect &src) override

this method must be overloaded if some preparation is necessary.

It is called after a call to reinit() and before the next call to preconditionner_() . Do not forget to call the prepare_() method of the ancestor (at the end of the routine, otherwise status will be put to READY) and use get_status() to know what should be prepared.

Reimplements:

References
How to cite in this doc:
:ref:`void PrecondA::prepare_(const Matrice_Base &, const DoubleVect &src) override <protected-void-preconda-prepare-underscore-const-matrice-base-ref-const-doublevect-ref-src-override>`
[void PrecondA::prepare_(const Matrice_Base &, const DoubleVect &src) override](#protected-void-preconda-prepare-underscore-const-matrice-base-ref-const-doublevect-ref-src-override)
printOn
Sortie & PrecondA::printOn(Sortie &x) const override

Ecriture de l’objet sur un flot de sortie Methode a surcharger.

Reimplements:

How to cite in this doc:
:ref:`Sortie & PrecondA::printOn(Sortie &x) const override <protected-sortie-ref-preconda-printon-sortie-ref-x-const-override>`
[Sortie & PrecondA::printOn(Sortie &x) const override](#protected-sortie-ref-preconda-printon-sortie-ref-x-const-override)
readOn
Entree & PrecondA::readOn(Entree &) override

Lecture d’un Objet_U sur un flot d’entree Methode a surcharger.

Reimplements:

References
How to cite in this doc:
:ref:`Entree & PrecondA::readOn(Entree &) override <protected-entree-ref-preconda-readon-entree-ref-override>`
[Entree & PrecondA::readOn(Entree &) override](#protected-entree-ref-preconda-readon-entree-ref-override)
set_param
void PrecondA::set_param(Param &param)
References
Referenced By
How to cite in this doc:
:ref:`void PrecondA::set_param(Param &param) <protected-void-preconda-set-param-param-ref-param>`
[void PrecondA::set_param(Param &param)](#protected-void-preconda-set-param-param-ref-param)

Attributes Documentation#

info_obj (public)
const Type_info PrecondA::info_obj
alpha_0 (protected)
double PrecondA::alpha_0 = - 100.
alpha_1 (protected)
double PrecondA::alpha_1 = - 100.
alpha_a (protected)
double PrecondA::alpha_a = - 100.
le_precond_0 (protected)
TRUST_Deriv<Precond_base> PrecondA::le_precond_0
le_precond_1 (protected)
TRUST_Deriv<Precond_base> PrecondA::le_precond_1
le_precond_a (protected)
TRUST_Deriv<Precond_base> PrecondA::le_precond_a