16#include <Milieu_composite_Euler.h>
37 Process::exit(
"Error: Pb_Euler is only available for Coloc discretization !!! Update your data file ...\n");
40 Process::exit(
"Error: Pb_Euler is currently only available in 2D ...\n");
52 Cerr <<
"Error: Fluid of type " <<
le_milieu_[0]->le_type() <<
" is not compatible with " <<
que_suis_je() <<
" problem which accepts only Milieu_composite_Euler medium !!!" << finl;
53 Cerr <<
"Check your datafile!" << finl;
68 Cerr <<
"Pb_Euler : Reading of the equations ..." << finl;
77 Cerr <<
"Pb_Euler : Reading of the equations => OK" << finl;
80 Cerr <<
"Pb_Euler : Initializing mass's equation unknown " <<
eq_masse_.inconnue().le_nom() << finl;
83 Cerr <<
"Pb_Euler : Initializing momentum's equation unknown " <<
eq_qdm_.inconnue().le_nom() << finl;
86 Cerr <<
"Pb_Euler : Initializing energy's equation unknown " <<
eq_energie_.inconnue().le_nom() << finl;
104 Cerr <<
"Pb_Euler::equation() : Wrong equation number" << i <<
"!" << finl;
122 Cerr <<
"Pb_Euler::equation() : Wrong equation number" << i <<
"!" << finl;
Class defining operators and methods for all reading operation in an input flow (file,...
class Equation_base The role of an equation is the calculation of one or more fields....
virtual void associer_milieu_equation()
virtual void associer_milieu_base(const Milieu_base &)=0
virtual const Milieu_base & milieu() const =0
Milieu_base This class is the base of the (physical) medium hierarchy.
virtual void discretiser(const Probleme_base &pb, const Discretisation_base &dis)
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.
void preparer_calcul() override
Prepares the computation: initializes the medium parameters and prepares the computation of each equa...
Fraction_Euler eq_fraction_
void mettre_a_jour(double temps) override
Performs a time update of the problem.
const Equation_base & equation(int) const override
void associer_milieu_base(const Milieu_base &) override
Associates a physical medium with the problem equations.
int nombre_d_equations() const override
Momentum_Euler & equation_qdm()
Entree & lire_equations(Entree &is, Motcle &dernier_mot) override
Reading of the equations of the problem.
void typer_lire_milieu(Entree &is) override
Pb_Fluide_base This class provides a base class for.
virtual void discretiser_equations()
virtual void preparer_calcul()
Prepares the computation: initializes the medium parameters and prepares the computation of each equa...
const Discretisation_base & discretisation() const
Returns the discretization associated with the problem.
virtual void mettre_a_jour(double temps)
Performs a time update of the problem.
std::vector< OWN_PTR(Milieu_base)> le_milieu_
const Schema_Temps_base & schema_temps() const
Returns the time scheme associated with the problem.
virtual Equation_base & getset_equation_by_name(const Nom &)
(B. Math): Virtual method added for problems having several equations of the same type (Probleme_FT_D...
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.