16#include <Interface_Baer_Nunziato.h>
28 param.lire_avec_accolades_depuis(is);
42 if (!sub_type(
Pb_Euler, pb_.valeur()))
44 Cerr <<
"Interface_Baer_Nunziato should only be used with a problem of type Pb_Euler, not " << pb_->que_suis_je() <<
" !!!!" << finl;
50 Cerr <<
"Milieu_composite_Euler should only be used with a problem of type Pb_Euler, not " << pb_->milieu().que_suis_je() <<
" !!!!" << finl;
57 if (noms_phases.size() != 2)
59 Cerr <<
"Error in Interface_Baer_Nunziato : the class is actually coded only for 2 phase problem. We detect the following phases :\n " << noms_phases << finl;
63 for (
int i = 0; i < noms_phases.size(); i++)
75 Cerr <<
"Error in Interface_Baer_Nunziato : the phase name " <<
nom_phase_vitesse_ <<
" is not found in the provided phases :\n " << noms_phases << finl;
Class defining operators and methods for all reading operation in an input flow (file,...
int id_pression_interface_
void set_param(Param ¶m) const override
int id_vitesse_interface_
void completer() override
const Noms & noms_phases() const
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.
virtual Sortie & printOn(Sortie &) const
Ecriture de l'objet sur un flot de sortie Methode a surcharger.
Helper class to factorize the readOn method of Objet_U classes.
void ajouter(const char *keyword, const int *value, Param::Nature nat=Param::OPTIONAL)
Register an integer parameter.
static void exit(int exit_code=-1)
Routine de sortie de TRUST dans une region Kokkos.
Classe de base des flux de sortie.