16#ifndef Precond_base_included
17#define Precond_base_included
19#include <TRUSTTabs_forward.h>
Classe Matrice_Base Classe de base de la hierarchie des matrices.
Objet_U()
Constructeur par defaut : attribue un numero d'identifiant unique a l'objet (object_id_),...
int preconditionner(const Matrice_Base &, const DoubleVect &src, DoubleVect &solution)
Call to the prepare() method if reinit() has been called previously, then call to preconditionner_().
void prepare(const Matrice_Base &, const DoubleVect &src)
prepares the preconditionner if needed after a matrix change (reinit() call).
void set_echange_espace_virtuel_resultat(int flag)
Call this method to change the behaviour of the preconditionner() method 0-> result will not have an ...
virtual int get_flag_updated_input() const
virtual void prepare_(const Matrice_Base &, const DoubleVect &)
this method must be overloaded if some preparation is necessary.
void reinit(Init_Status x=REINIT_ALL)
this method must be called before preconditionner() whenever the matrix changes (coefficients only or...
virtual int preconditionner_(const Matrice_Base &, const DoubleVect &src, DoubleVect &solution)=0
virtual int supporte_matrice_morse_sym()
returns 1 if the implementation accepts Matrice_Morse_Sym matrices, otherwise 0.