16#include <Champ_Generique_modifier_pour_QC.h>
17#include <Postraitement.h>
18#include <Modifier_pour_fluide_dilatable.h>
19#include <Equation_base.h>
20#include <Fluide_Quasi_Compressible.h>
60 espace_stockage = creer_espace_stockage(nature_source,
nb_comp,es_tmp);
61 return espace_stockage;
70 espace_stockage = creer_espace_stockage(nature_source,
nb_comp,es_tmp);
72 DoubleTab& val = espace_stockage->
valeurs();
75 multiplier_diviser_rho(val,fluide,
diviser_);
77 return espace_stockage;
86 Nom nom_post_source, nom_champ_source;
88 nom_champ_source = nom[0];
89 nom_post_source =
"Modifier_pour_QC_";
90 nom_post_source += nom_champ_source;
class Champ_Fonc_base Base class of fields that are functions of a calculated quantity
Base class of generic fields having other generic fields as source. The use of the class methods reli...
virtual OWN_PTR(Champ_Fonc_base) &creer_espace_stockage(const Nature_du_champ &nature
void completer(const Postraitement_base &post) override
virtual const Champ_Generique_base & get_source(int i) const
void set_param(Param ¶m) const override
virtual const int nb_comp
virtual const Noms get_property(const Motcle &query) const
Returns the requested property.
virtual const Champ_base & get_champ(OWN_PTR(Champ_base) &espace_stockage) const =0
virtual const Champ_base & get_champ_without_evaluation(OWN_PTR(Champ_base)&espace_stockage) const =0
void nommer(const Nom &nom) override
Assigns a name to the Objet_U. Virtual method to override.
class Champ_Generique_modifier_pour_QC OWN_PTR(Champ_base) intended to post-process a field of a quas...
Champ_Generique_modifier_pour_QC()
void nommer_source() override
void set_param(Param ¶m) const override
const Champ_base & get_champ_without_evaluation(OWN_PTR(Champ_base)&espace_stockage) const override
void completer(const Postraitement_base &post) override
const Champ_base & get_champ(OWN_PTR(Champ_base)&espace_stockage) const override
virtual DoubleTab & valeurs()=0
class Champ_base This class is the base of the fields hierarchy.
Class defining operators and methods for all reading operation in an input flow (file,...
virtual const Milieu_base & milieu() const =0
virtual int nb_comp() const
virtual Nature_du_champ nature_du_champ() const
Fluide_Quasi_Compressible class This class represents a quasi-compressible fluid,.
class Nom: a character string for naming TRUST objects.
An array of character strings (VECT(Nom)).
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.
Helper class to factorize the readOn method of Objet_U classes.
void ajouter_flag(const char *keyword, const bool *value)
Register a boolean flag whose mere presence switches it to true.
Base class for all post-processing objects.
class Postraitement. The class holds -a list of generic fields champs_post_complet_ containing
Probleme_base & probleme()
virtual const Equation_base & equation(int) const =0
Base class for output streams.
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")