16#include <Precond_base.h>
57 Cerr <<
"Error Precond_base::reinit" << finl;
96 assert(status_ ==
READY);
110 if (status_ !=
READY)
112 assert(status_ ==
READY);
Class defining operators and methods for all reading operation in an input flow (file,...
Matrice_Base class - Base class of the matrix hierarchy.
Base class for TRUST objects (Objet_U).
const Nom & que_suis_je() const
Returns the string identifying the class.
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
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 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.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.