16#include <Neumann_paroi_rayo_semi_transp_VEF.h>
17#include <Pb_rayo_semi_transp.h>
18#include <Champ_Uniforme.h>
19#include <Milieu_base.h>
44 if (le_champ_front->valeurs().size() == 1)
45 return le_champ_front->valeurs()(0, 0) - flux_radiatif(i, 0);
46 else if (le_champ_front->valeurs().dimension(1) == 1)
47 return le_champ_front->valeurs()(i, 0) - flux_radiatif(i, 0);
49 Cerr <<
"Neumann_paroi_rayo_semi_transp_VEF::flux_impose error" << finl;
58 if (le_champ_front->valeurs().dimension(0) == 1)
59 return le_champ_front->valeurs()(0, j) - flux_radiatif(i);
61 return le_champ_front->valeurs()(i, j) - flux_radiatif(i);
76 DoubleTab& tab = temperature_bord_->valeurs_au_temps(temps);
80 int nfin = ndeb + front_vf.
nb_faces();
82 for (face = ndeb; face < nfin; face++)
83 tab(face - ndeb, 0) = temperature(face);
90 Motcle Thermique =
"Thermique";
91 Motcle indetermine =
"indetermine";
92 if ((dom_app == Thermique) || (dom_app == indetermine))
109 temperature_bord_.typer(
"Champ_front_fonc");
110 temperature_bord_->fixer_nb_comp(nb_comp);
111 DoubleTab& tab = temperature_bord_->valeurs();
DoubleTab & valeurs() override
Returns the array of field values at the current time.
virtual DoubleTab & valeurs() override
Returns the array of field values.
class Cond_lim_base Base class for the hierarchy of classes that represent the different boundary con...
void err_pas_compatible(const Equation_base &) const
This method is called when the boundary condition is not compatible with the equation on which we try...
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.
virtual Frontiere_dis_base & frontiere_dis()
Returns the discretized boundary to which the boundary conditions apply.
const Pb_rayo_semi_transp & pb_rayo_semi_transp() const
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....
virtual const Champ_Inc_base & inconnue() const =0
virtual const Motcle & domaine_application() const
Returns "indeterminate" Navier_Stokes_standard for example overrides this method.
int num_premiere_face() const
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
A character string (Nom) in uppercase.
void completer() override
DOES NOTHING must be overridden in derived classes.
void calculer_temperature_bord(double temps)
void mettre_a_jour(double temps) override
Performs a time update of the boundary condition.
const Cond_lim_base & la_cl() const override
int compatible_avec_eqn(const Equation_base &) const override
double flux_impose(int i) const override
Returns the value of the imposed flux on the i-th component of the field representing the flux at the...
Classe Neumann_paroi This boundary condition corresponds to an imposed flux for the.
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.
const Champ_front_base & flux_radiatif(const Nom &nom_bord) const
Base class for output streams.
void resize(_SIZE_ n, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)