16#include <Conservation_Euler_base.h>
34 assert(l_inco_ch_ && le_fluide_);
47 if (mot ==
"convection")
49 Cerr <<
"Reading and typing of the convection operator : " << finl;
57 else if (mot ==
"termes_non_conservatifs|non_conservative_terms")
59 Cerr <<
"Reading and typing of the non_conservative_terms operator : " << finl;
72 const bool is_single_phase = (ref_cast(
Pb_Euler,
probleme()).nb_phases() == 1);
75 EChaine str(
" { negligeable } ");
81 Cerr <<
"Error while reading " <<
que_suis_je() <<
" !!! non_conservative_terms operator is not read although it is required !!! Fix your data file ..." << finl;
class Champ_base This class is the base of the fields hierarchy.
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
Operateur_NConserv terme_nconserv_
void add_missing_nconserv_op()
void associer_milieu_base(const Milieu_base &) override
void associer_fluide(const Fluide_base &)
Convection_Diffusion_std This class is the base for equations modelling the transport.
void associer_vitesse(const Champ_base &)
Associates the transporting velocity with the equation.
virtual const Champ_base & vitesse_pour_transport() const
Operateur_Conv terme_convectif
An input stream whose source is a character string.
Class defining operators and methods for all reading operation in an input flow (file,...
Probleme_base & probleme()
Returns the problem associated with the equation.
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
Base class for an incompressible fluid and its properties:
Milieu_base This class is the base of the (physical) medium hierarchy.
A character string (Nom) in uppercase.
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.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.