17#include <Probleme_U.h>
18#include <Catch_SIGINIT.h>
20#include <Perf_counters.h>
58 statistics().begin_count(STD_COUNTERS::computation_start_up);
59 Nom string(
"=====================================================");
60 Cerr <<
string << finl;
61 Cerr <<
"Initialization of the problem " << pb.
le_nom() <<
" ("<<
que_suis_je()<<
") in progress ... " << finl;
62 Cerr <<
string << finl;
74 Cerr <<
string << finl;
75 Cerr <<
"Solving of the problem " << pb.
le_nom() <<
" ("<<
que_suis_je()<<
") in progress ... " << finl;
76 Cerr <<
string << finl;
82 Cerr <<
string << finl;
83 Cerr <<
"End of solving of the problem " << pb.
le_nom() <<
" ("<<
que_suis_je()<<
")" << finl;
84 Cerr <<
string << finl;
87 Cerr <<
"Error while solving!" << finl;
static void signal_callback_handler(int signum)
void set_nom_cas_pour_signal(const Nom &cas)
Class defining operators and methods for all reading operation in an input flow (file,...
Classe de base des objets "interprete".
static Objet_U & objet(const Nom &)
Voir Interprete_bloc::objet_global() BM: la classe Interprete n'est pas le meilleur endroit pour cett...
class Nom Une chaine de caractere pour nommer les objets de TRUST
const Nom & que_suis_je() const
renvoie la chaine identifiant la classe.
virtual Entree & readOn(Entree &)
Lecture d'un Objet_U sur un flot d'entree Methode a surcharger.
static const Nom & nom_du_cas()
Renvoie une reference constante vers le nom du cas.
static int DEACTIVATE_SIGINT_CATCH
virtual Sortie & printOn(Sortie &) const
Ecriture de l'objet sur un flot de sortie Methode a surcharger.
const Nom & le_nom() const override
Donne le nom de l'Objet_U Methode a surcharger : renvoie "neant" dans cette implementation.
virtual void terminate()
This method is called once at the end, after any other one.
virtual bool run()
Cette methode est une sorte de main() du Problem Elle peut etre utilisee si le probleme n'est couple ...
virtual void initialize()
This method is called once at the beginning, before any other one of the interface Problem.
static void exit(int exit_code=-1)
Routine de sortie de TRUST dans une region Kokkos.
classe Resoudre Interprete qui resoud un probleme:
Entree & interpreter(Entree &) override
Task of the interpretor: Solve a problem (name read from the input stream).
Classe de base des flux de sortie.