16#ifndef Echange_impose_base_included
17#define Echange_impose_base_included
19#include <Cond_lim_base.h>
46 inline bool has_h_imp()
const {
return bool(h_imp_); }
48 const DoubleTab&
tab_T_ext(
double temps=DMAXFLOAT)
const;
49 const DoubleTab&
tab_h_imp(
double temps=DMAXFLOAT)
const;
51 virtual double T_ext(
int num)
const;
52 virtual double T_ext(
int num,
int k)
const;
53 virtual double h_imp(
int num)
const;
54 virtual double h_imp(
int num,
int k)
const;
83 int avancer(
double temps)
override;
84 int reculer(
double temps)
override;
95 mutable DoubleTab text_;
96 mutable DoubleTab himp_;
97 mutable DoubleTab eps_;
class Champ_front_base Base class for the hierarchy of boundary fields.
class Cond_lim_base Base class for the hierarchy of classes that represent the different boundary con...
Echange_impose_base: This boundary condition is used only for the energy equation.
int avancer(double temps) override
Rotates the wheel of the BC.
int initialiser(double temps) override
Initialization at the beginning of the calculation.
bool has_emissivite() const
void fixer_nb_valeurs_temporelles(int nb_cases) override
Called by Conds_lim::completer. Calls cha_front_base::fixer_nb_valeurs_temporelles.
void set_temps_defaut(double temps) override
Changes the i-th future time of the BC.
void associer_fr_dis_base(const Frontiere_dis_base &) override
Associates the boundary with the object.
virtual const Champ_front_base & h_imp() const
int a_mettre_a_jour_ss_pas_dt() override
Indicates whether this boundary condition must be updated during sub-time steps of a time scheme such...
virtual const Champ_front_base & T_ext() const
virtual double h_imp_grad(int num, int k) const
virtual Champ_front_base & h_imp()
virtual Champ_front_base & T_ext()
Returns the T_ext field of temperature imposed at the boundary.
const DoubleTab & tab_h_imp(double temps=DMAXFLOAT) const
OWN_PTR(Champ_front_base) h_imp_
int reculer(double temps) override
Rotates the wheel of the BC.
virtual bool has_h_imp_grad() const
Champ_front_base & emissivite()
const DoubleTab & tab_T_ext(double temps=DMAXFLOAT) const
const Champ_front_base & emissivite() const
void mettre_a_jour(double) override
Performs a time update of the boundary conditions.
const DoubleTab & tab_emissivite(double temps=DMAXFLOAT) const
virtual double h_imp_grad(int num) const
void changer_temps_futur(double temps, int i) override
Changes the i-th future time of the BC.
virtual void liste_faces_loi_paroi(IntTab &)
class Frontiere_dis_base Class representing a discretized boundary.
const Nom & que_suis_je() const
Returns the string identifying the class.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.