16#include <Flux_radiatif_base.h>
30 Motcles les_motcles(2);
32 les_motcles[0] =
"emissivite";
40 int rang = les_motcles.search(motlu);
56 Cerr <<
"Error reading the boundary condition of type " << finl;
57 Cerr <<
"Flux_radiatif_base " << finl;
58 Cerr <<
"Expected " << les_motcles <<
"instead of " << motlu << finl;
65 le_champ_front.typer(
"Champ_front_fonc");
68 flux_radiatif_.typer(
"Champ_front_fonc");
78 const Front_VF& front_vf = ref_cast(
Front_VF, le_champ_front->frontiere_dis());
88 emissivite_->associer_fr_dis_base(front_vf);
96 if (le_champ_front->valeurs().size() == 1)
97 return le_champ_front->valeurs()(0, 0);
98 else if (le_champ_front->valeurs().dimension(1) == 1)
99 return le_champ_front->valeurs()(i, 0);
101 Cerr <<
"Flux_radiatif_base::flux_impose error" << finl;
111 if (le_champ_front->valeurs().dimension(0) == 1)
112 return le_champ_front->valeurs()(0, j);
114 return le_champ_front->valeurs()(i, j);
virtual DoubleTab & valeurs() override
Returns the array of field values.
virtual void completer()
DOES NOTHING must be overridden in derived classes.
Champ_front_base & champ_front()
Class defining operators and methods for all reading operation in an input flow (file,...
virtual void fixer_nb_comp(int i)
Sets the number of components of the field.
void nommer(const Nom &) override
Gives a name to the field.
Champ_front_base & flux_radiatif()
double flux_impose(int i) const override
Returns the imposed flux value at the radiative wall.
void completer() override
DOES NOTHING must be overridden in derived classes.
const Nom & le_nom() const override
Returns the name of the geometric boundary.
Classe Neumann_paroi This boundary condition corresponds to an imposed flux for the.
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.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
void resize(_SIZE_ n, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)