16#include <Echange_externe_impose_rayo_transp.h>
17#include <Pb_Fluide_base.h>
29 app_domains = { Motcle(
"Thermique"), Motcle(
"indetermine") };
32 Motcles les_motcles(2);
34 les_motcles[0] =
"h_imp";
35 les_motcles[1] =
"T_ext";
42 int rang = les_motcles.search(motlu);
58 Cerr <<
"Error reading the boundary condition of type " << finl;
59 Cerr <<
"Echange_externe_impose_rayo_transp " << finl;
60 Cerr <<
"Expected " << les_motcles <<
"instead of " << motlu << finl;
67 if (local_min_vect(h_imp_->valeurs()) < 1.e9)
69 Cerr <<
"Error using the boundary condition" << finl;
70 Cerr <<
"Echange_externe_impose_rayo_transp. This condition can only" << finl;
71 Cerr <<
"be used for a radiation problem to " << finl;
72 Cerr <<
"impose a temperature on a wall" << finl;
81 assert(!le_modele_rayo_);
89 le_modele_rayo_ = ref_cast(
Pb_Fluide_base, this_pb).get_mod_rayo_transp();
91 if (le_modele_rayo_->nom_pb_rayonnant() != this_pb.
le_nom())
110 for (
int numfa = 0; numfa < front_vf.
nb_faces(); numfa++)
Domaine_Cl_dis_base & domaine_Cl_dis()
Returns the domain of discretized boundary conditions to which the object belongs.
virtual void completer()
DOES NOTHING must be overridden in derived classes.
std::vector< Motcle > app_domains
virtual Frontiere_dis_base & frontiere_dis()
Returns the discretized boundary to which the boundary conditions apply.
void error_non_rad_bc(const Nom &nom_class, const Nom &nom_pb, const Nom &nom_bord, const Nom &other_type)
void preparer_surface(const Frontiere_dis_base &, const Domaine_Cl_dis_base &)
void error_pb_name(const Nom &nom_class, const Nom &nom_pb, const Nom &nom_pb_ray)
void mettre_a_jour(double) override
Performs a time update of the boundary condition.
void completer() override
int initialiser(double temps) override
Initialization at the beginning of the calculation.
Classe Echange_externe_impose: This class represents the special case of the class.
int initialiser(double temps) override
Initialization at the beginning of the calculation.
virtual Champ_front_base & T_ext()
Returns the T_ext field of temperature imposed at the boundary.
void mettre_a_jour(double) override
Performs a time update of the boundary conditions.
Class defining operators and methods for all reading operation in an input flow (file,...
Probleme_base & probleme()
Returns the problem associated with the equation.
virtual bool is_rayo_transp() const
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
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.
Pb_Fluide_base This class provides a base class for.
const Nom & le_nom() const override
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
class Probleme_base It is a Probleme_U that is not a coupling.
virtual const Milieu_base & milieu() const
Returns the physical medium associated with the problem (const version).
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.