16#include <Modele_turbulence_hyd_base.h>
17#include <T_paroi_Champ_P1NC.h>
18#include <Champ_P1NC.h>
35 mon_champ_ = un_champ;
43 const DoubleTab& temp = mon_champ_->valeurs();
47 for (
int n_bord = 0; n_bord < nb_bords; n_bord++)
49 const Cond_lim& la_cl = le_dom_Cl_VEF->les_conditions_limites(n_bord);
52 int nfin = ndeb + le_bord.
nb_faces();
54 for (
int face = ndeb; face < nfin; face++)
56 const int elem = face_voisins(face, 0);
57 val(elem) = temp(face);
64 return le_dom_Cl_VEF.valeur();
DoubleTab & valeurs() override
Overrides Champ_base::valeurs() Returns the array of values.
void mettre_a_jour(double temps) override
Time update of the field.
virtual double changer_temps(const double t)
Sets the time at which the field is defined.
class Cond_lim Generic class used to represent any class
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.
virtual IntTab & face_voisins()
Class defining operators and methods for all reading operation in an input flow (file,...
Domaine_dis_base & domaine_dis()
Returns the discretized domain associated with the equation.
const Nom & le_nom() const override
Returns the name of the field.
int num_premiere_face() 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 Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
Base class for output streams.
const Domaine_Cl_dis_base & domaine_Cl_dis_base() const
const Champ_P1NC & mon_champ() const
void mettre_a_jour(double) override
Time update of the field.
void associer_champ(const Champ_P1NC &)