16#include <Puissance_Thermique_QC_EF.h>
17#include <Discretisation_base.h>
18#include <Probleme_base.h>
19#include <Milieu_base.h>
20#include <Domaine_Cl_EF.h>
21#include <Domaine_EF.h>
29 const Equation_base& eqn =
equation();
40 iter_->associer_domaines(zEF, zclEF);
57 if (champs_compris_.has_champ(nom, ref_champ))
65 if (champs_compris_.has_champ(nom))
75 if (champs_compris_.has_champ(nom, ref_champ))
81 throw std::runtime_error(std::string(
"Field ") + nom.
getString() + std::string(
" not found !"));
86 if (opt == DESCRIPTION)
87 Cerr <<
"Terme_Puissance_Thermique_QC_EF : " << champs_compris_.liste_noms_compris() << finl;
89 nom.add(champs_compris_.liste_noms_compris());
class Champ_base This class is the base of the fields hierarchy.
virtual void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const =0
virtual bool has_champ(const Motcle &nom, OBS_PTR(Champ_base)&ref_champ) const =0
void nommer_completer_champ_physique(const Domaine_dis_base &domaine_vdf, const Nom &nom_champ, const Nom &unite, Champ_base &champ, const Probleme_base &pbi) const
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
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....
const Discretisation_base & discretisation() const
Returns the discretization associated with the equation.
Domaine_dis_base & domaine_dis()
Returns the discretized domain associated with the equation.
void associer_puissance(const Champ_Don_base &)
void associer_domaines(const Domaine_dis_base &domaine, const Domaine_Cl_dis_base &domaine_cl)
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
OBS_PTR(Equation_base) mon_equation
A character string (Nom) in uppercase.
const std::string & getString() const
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 Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
class Probleme_base It is a Probleme_U that is not a coupling.
virtual const Equation_base & equation(int) const =0
class Puissance_Thermique_QC_EF
const Champ_base & get_champ(const Motcle &nom) const override
void associer_domaines(const Domaine_dis_base &, const Domaine_Cl_dis_base &) override
void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override
void associer_pb(const Probleme_base &) override
bool has_champ(const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override
Base class for output streams.
void lire_donnees(Entree &, const Equation_base &eqn)
Reads the thermal power term from an input stream and an equation, possibly using the discretisation ...