Precond_base#
#include <Precond_base.h>
How to reference this class#
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Precond\_base <class-precond-base>`
[Precond\_base](#class-precond-base)
Detailed description#
Inherits from#
public : Objet_U
Inherited by#
public : ILU_SP
public : PrecondA
public : PrecondSolv
public : Precond_local
public : SSOR
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Methods#
List of Public Static Methods#
List of Protected Methods#
Complete Member Function Documentation#
get_flag_updated_input#
virtual int Precond_base::get_flag_updated_input() const
Detailed description
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`virtual int Precond_base::get_flag_updated_input() const <precond-base-public-virtual-int-precond-base-get-flag-updated-input-const>`
[virtual int Precond_base::get_flag_updated_input() const](#precond-base-public-virtual-int-precond-base-get-flag-updated-input-const)
get_info#
const Type_info * Precond_base::get_info() const override
Donne des informations sur le type de l’ Objet_U .
Detailed description
Reimplements:
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const Type_info * Precond_base::get_info() const override <precond-base-public-const-type-info-ptr-precond-base-get-info-const-override>`
[const Type_info * Precond_base::get_info() const override](#precond-base-public-const-type-info-ptr-precond-base-get-info-const-override)
get_status#
Init_Status Precond_base::get_status()
Detailed description
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Init_Status Precond_base::get_status() <precond-base-public-init-status-precond-base-get-status>`
[Init_Status Precond_base::get_status()](#precond-base-public-init-status-precond-base-get-status)
Precond_base#
Precond_base::Precond_base()
Detailed description
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Precond_base::Precond_base() <precond-base-public-precond-base-precond-base>`
[Precond_base::Precond_base()](#precond-base-public-precond-base-precond-base)
preconditionner#
int Precond_base::preconditionner(const Matrice_Base &, const DoubleVect &src, DoubleVect &solution)
Call to the prepare() method if reinit() has been called previously, then call to preconditionner_() .
Detailed description
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`int Precond_base::preconditionner(const Matrice_Base &, const DoubleVect &src, DoubleVect &solution) <precond-base-public-int-precond-base-preconditionner-const-matrice-base-ref-const-doublevect-ref-src-doublevect-ref-solution>`
[int Precond_base::preconditionner(const Matrice_Base &, const DoubleVect &src, DoubleVect &solution)](#precond-base-public-int-precond-base-preconditionner-const-matrice-base-ref-const-doublevect-ref-src-doublevect-ref-solution)
prepare#
void Precond_base::prepare(const Matrice_Base &, const DoubleVect &src)
prepares the preconditionner if needed after a matrix change ( reinit() call).
Detailed description
prepare() is public, in case we want to perform preparation separately from preconditionning (eg nested solvers) but calling prepare() is not mandatory (done automatically in preconditionner() ) m is the new matrix, and md is the descriptor of the solution vector.
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void Precond_base::prepare(const Matrice_Base &, const DoubleVect &src) <precond-base-public-void-precond-base-prepare-const-matrice-base-ref-const-doublevect-ref-src>`
[void Precond_base::prepare(const Matrice_Base &, const DoubleVect &src)](#precond-base-public-void-precond-base-prepare-const-matrice-base-ref-const-doublevect-ref-src)
reinit#
void Precond_base::reinit(Init_Status x=REINIT_ALL)
this method must be called before preconditionner() whenever the matrix changes (coefficients only or coefficients and structure) to
Detailed description
tell the object to recompute some matrix related data.
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void Precond_base::reinit(Init_Status x=REINIT_ALL) <precond-base-public-void-precond-base-reinit-init-status-x-equal-reinit-all>`
[void Precond_base::reinit(Init_Status x=REINIT_ALL)](#precond-base-public-void-precond-base-reinit-init-status-x-equal-reinit-all)
set_echange_espace_virtuel_resultat#
void Precond_base::set_echange_espace_virtuel_resultat(int flag)
Call this method to change the behaviour of the preconditionner() method 0 - > result will not have an up - to - date virtual space.
Detailed description
1 - > yes it will (this must be the default value in the implementation)
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void Precond_base::set_echange_espace_virtuel_resultat(int flag) <precond-base-public-void-precond-base-set-echange-espace-virtuel-resultat-int-flag>`
[void Precond_base::set_echange_espace_virtuel_resultat(int flag)](#precond-base-public-void-precond-base-set-echange-espace-virtuel-resultat-int-flag)
supporte_matrice_morse_sym#
int Precond_base::supporte_matrice_morse_sym()
returns 1 if the implementation accepts Matrice_Morse_Sym matrices, otherwise 0.
Detailed description
(must be reimplemented if answer is 0)
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`int Precond_base::supporte_matrice_morse_sym() <precond-base-public-int-precond-base-supporte-matrice-morse-sym>`
[int Precond_base::supporte_matrice_morse_sym()](#precond-base-public-int-precond-base-supporte-matrice-morse-sym)
~Precond_base#
Precond_base::~Precond_base() override
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Precond_base::~Precond_base() override <precond-base-public-precond-base-dtor-precond-base-override>`
[Precond_base::~Precond_base() override](#precond-base-public-precond-base-dtor-precond-base-override)
info#
const Type_info * Precond_base::info()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const Type_info * Precond_base::info() <precond-base-public-static-const-type-info-ptr-precond-base-info>`
[const Type_info * Precond_base::info()](#precond-base-public-static-const-type-info-ptr-precond-base-info)
self_cast#
const Precond_base & Precond_base::self_cast(const Objet_U &)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const Precond_base & Precond_base::self_cast(const Objet_U &) <precond-base-public-static-const-precond-base-ref-precond-base-self-cast-const-objet-u-ref>`
[const Precond_base & Precond_base::self_cast(const Objet_U &)](#precond-base-public-static-const-precond-base-ref-precond-base-self-cast-const-objet-u-ref)
self_cast#
Precond_base & Precond_base::self_cast(Objet_U &)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Precond_base & Precond_base::self_cast(Objet_U &) <precond-base-public-static-precond-base-ref-precond-base-self-cast-objet-u-ref>`
[Precond_base & Precond_base::self_cast(Objet_U &)](#precond-base-public-static-precond-base-ref-precond-base-self-cast-objet-u-ref)
preconditionner_#
virtual int Precond_base::preconditionner_(const Matrice_Base &, const DoubleVect &src, DoubleVect &solution)=0
Detailed description
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`virtual int Precond_base::preconditionner_(const Matrice_Base &, const DoubleVect &src, DoubleVect &solution)=0 <precond-base-protected-virtual-int-precond-base-preconditionner-underscore-const-matrice-base-ref-const-doublevect-ref-src-doublevect-ref-solution-equal-0>`
[virtual int Precond_base::preconditionner_(const Matrice_Base &, const DoubleVect &src, DoubleVect &solution)=0](#precond-base-protected-virtual-int-precond-base-preconditionner-underscore-const-matrice-base-ref-const-doublevect-ref-src-doublevect-ref-solution-equal-0)
prepare_#
void Precond_base::prepare_(const Matrice_Base &, const DoubleVect &)
this method must be overloaded if some preparation is necessary.
Detailed description
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.
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void Precond_base::prepare_(const Matrice_Base &, const DoubleVect &) <precond-base-protected-void-precond-base-prepare-underscore-const-matrice-base-ref-const-doublevect-ref>`
[void Precond_base::prepare_(const Matrice_Base &, const DoubleVect &)](#precond-base-protected-void-precond-base-prepare-underscore-const-matrice-base-ref-const-doublevect-ref)
printOn#
Sortie & Precond_base::printOn(Sortie &x) const override
Ecriture de l’objet sur un flot de sortie Methode a surcharger.
Detailed description
Reimplements:
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Sortie & Precond_base::printOn(Sortie &x) const override <precond-base-protected-sortie-ref-precond-base-printon-sortie-ref-x-const-override>`
[Sortie & Precond_base::printOn(Sortie &x) const override](#precond-base-protected-sortie-ref-precond-base-printon-sortie-ref-x-const-override)
readOn#
Entree & Precond_base::readOn(Entree &) override
Lecture d’un Objet_U sur un flot d’entree Methode a surcharger.
Detailed description
Reimplements:
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Entree & Precond_base::readOn(Entree &) override <precond-base-protected-entree-ref-precond-base-readon-entree-ref-override>`
[Entree & Precond_base::readOn(Entree &) override](#precond-base-protected-entree-ref-precond-base-readon-entree-ref-override)
Attributes Documentation#
const Type_info Precond_base::info_obj
int Precond_base::echange_ev_solution_
Init_Status Precond_base::status_
Enums#
Precond_base::Init_Status#
Location: trust-code/src/Kernel/Math/SolvSys/Precond_base.h:30
How to cite in this doc: Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Precond\_base::Init\_Status <enum-none-precond-base-init-status>`
[Precond\_base::Init\_Status](#enum-none-precond-base-init-status)
READY
REINIT_COEFF
REINIT_ALL