16#include <Convection_Diffusion_Espece_Multi_base.h>
17#include <Fluide_Dilatable_base.h>
18#include <Probleme_base.h>
32 Nom conv =
"Convection_", diff =
"Diffusion_";
36 terme_convectif.set_description((Nom)
"Convective flux =Integral(-rho*Y*u*ndS) [kg/s] if SI units used");
38 terme_diffusif.set_description((Nom)
"Diffusive flux=Integral(rho*D*grad(Y)*ndS) [kg/s] if SI units used");
39 l_inco_ch->add_synonymous(
alias_);
55 Cerr <<
"Reading and typing of the diffusion operator : " << finl;
103 throw std::runtime_error(std::string(
"Field ") + nom.
getString() + std::string(
" not found !"));
class Champ_base This class is the base of the fields hierarchy.
virtual bool has_champ(const Motcle &nom, OBS_PTR(Champ_base)&ref_champ) const =0
Particular case of Convection_Diffusion_std for a dilatable fluid when the transported scalar is the ...
const Champ_base & diffusivite_pour_pas_de_temps() const override=0
Particular case of Convection_Diffusion_Espece_Fluide_Dilatable_base for a quasi-compressible fluid w...
bool has_champ(const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
const Champ_base & get_champ(const Motcle &nom) const override
void set_param(Param &titi) const override
OBS_PTR(Fluide_Dilatable_base) le_fluide
const Champ_Don_base & diffusivite_pour_transport() const override
const Champ_Inc_base & inconnue() const override
Operateur_Diff terme_diffusif
Operateur_Conv terme_convectif
Class defining operators and methods for all reading operation in an input flow (file,...
virtual void set_param(Param &titi) const override
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.
Champs_compris champs_compris_
const Nom & le_nom() const override
Returns the name of the field.
A character string (Nom) in uppercase.
const std::string & getString() const
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.
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.
Base class for output streams.