16#include <Modele_turbulence_hyd_null.h>
17#include <EcritureLectureSpecial.h>
18#include <Discretisation_base.h>
19#include <Schema_Temps_base.h>
20#include <Probleme_base.h>
21#include <Equation_base.h>
29Modele_turbulence_hyd_null::Modele_turbulence_hyd_null()
37 const Equation_base& eqn =
equation();
40 if (discr ==
"VEF" || discr ==
"VEFPreP1B") loipar_.typer(
"negligeable_VEF");
41 else if (discr ==
"VDF") loipar_.typer(
"negligeable_VDF");
42 else if (discr ==
"EF") loipar_.typer(
"negligeable_EF");
45 Cerr <<
"Error in Modele_turbulence_hyd_null::readOn\n";
46 Cerr <<
" the discretization " << discr <<
" is not supported";
50 loipar_->associer_modele(*
this);
55 param.lire_avec_accolades_depuis(is);
74 mon_ident +=
Nom(temps,
"%e");
75 os << mon_ident << finl;
const Nom & le_nom() const override
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
static int is_ecriture_special(int &special, int &a_faire)
Indicates whether the special format was requested in active writing by xyz save.
Class defining operators and methods for all reading operation in an input flow (file,...
const Discretisation_base & discretisation() const
Returns the discretization associated with the equation.
virtual Domaine_Cl_dis_base & domaine_Cl_dis()
Returns the discretized boundary condition domain associated with the equation.
Probleme_base & probleme()
Returns the problem associated with the equation.
Schema_Temps_base & schema_temps()
Returns the time scheme associated with the equation.
Domaine_dis_base & domaine_dis()
Returns the discretized domain associated with the equation.
Base class for the turbulence model hierarchy for Navier-Stokes equations.
Equation_base & equation()
Returns the equation associated with the turbulence model.
int sauvegarder(Sortie &) const override
Saves the turbulence model to an output stream.
class Nom: a character string for naming TRUST objects.
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 const Nom & le_nom() const
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
const Domaine & domaine() const
Returns the domain associated with the problem.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
double temps_courant() const
Returns the current time.
Base class for output streams.
virtual void declare_support_masse_volumique(int ok)
The constructor of a derived class that uses the density field must call this function with the value...