16#ifndef Precond_base_included
17#define Precond_base_included
19#include <TRUSTTabs_forward.h>
Matrice_Base class - Base class of the matrix hierarchy.
Objet_U()
Default constructor: assigns a unique identifier to the object (object_id_) and registers the object ...
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.