16#include <Discretisation_base.h>
17#include <Domaine_Cl_dis_base.h>
18#include <Cond_lim_base.h>
19#include <Equation_base.h>
40 Cerr <<
"You call Cond_lim_base::compatible_avec_eqn but the std::vector app_domains is not filled ! Check your readOn !!" << finl;
46 if (itr == dom_app)
return 1;
87 return le_champ_front->initialiser(temps,
domaine_Cl_dis().inconnue());
96 le_champ_front->mettre_a_jour(temps);
134 le_champ_front->calculer_coeffs_echange(temps);
158 assert(le_champ_front);
159 le_champ_front->associer_fr_dis_base(fr);
172 mon_dom_cl_dis = zcl;
173 le_champ_front->verifier(*
this);
187 if (itr == type_discr)
return 1;
202 Cerr <<
"The boundary condition " <<
que_suis_je() <<
" can't apply to " << finl <<
"the equation of kind " << eqn.
que_suis_je() << finl;
214 Cerr <<
"The boundary condition " <<
que_suis_je() <<
" can't be used with " << finl <<
"the discretization of kind " << discr.
que_suis_je() << finl;
225 Cerr <<
"Cond_lim_base::injecter_dans_champ_inc()" << finl;
226 Cerr <<
"this method does nothing and must be overloaded " << finl;
227 Cerr <<
"Contact TRUST support." << finl;
virtual void changer_temps_futur(double temps, int i)
Changes the time value for the i-th temporal value after the present.
virtual void set_temps_defaut(double temps)
virtual void fixer_nb_valeurs_temporelles(int nb_cases)
Called by Conds_lim::completer. By default does nothing.
virtual int reculer(double temps)
To implement in derived classes.
virtual int avancer(double temps)
To implement in derived classes.
virtual void valeurs_face(int, DoubleVect &) const
Returns the vector of field values for the given face.
class Cond_lim_base Base class for the hierarchy of classes that represent the different boundary con...
std::vector< Nom > supp_discs
virtual void changer_temps_futur(double temps, int i)
Changes the i-th future time of the BC.
virtual int compatible_avec_eqn(const Equation_base &) const
virtual void mettre_a_jour(double temps)
Performs a time update of the boundary condition.
virtual void fixer_nb_valeurs_temporelles(int nb_cases)
Called by Conds_lim::completer. Calls cha_front_base::fixer_nb_valeurs_temporelles.
virtual void calculer_coeffs_echange(double temps)
Computation of exchange coefficients for coupling via Champ_front_contact_VEF.
virtual void associer_fr_dis_base(const Frontiere_dis_base &)
Associates the boundary with the object.
virtual int a_mettre_a_jour_ss_pas_dt()
Indicates whether this boundary condition must be updated during sub-time steps of a time scheme such...
virtual int avancer(double temps)
Rotates the wheel of the BC.
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 int compatible_avec_discr(const Discretisation_base &) const
Returns 1 if the boundary condition is compatible with the discretization passed as parameter.
virtual void verifie_ch_init_nb_comp() const
Calls the verification of the field read through the equation for which the boundary condition is con...
virtual int reculer(double temps)
Rotates the wheel of the BC.
virtual void injecter_dans_champ_inc(const Champ_Inc_base &) const
virtual void completer()
DOES NOTHING must be overridden in derived classes.
std::vector< Motcle > app_domains
virtual int initialiser(double temps)
Initialization at the beginning of the calculation.
Champ_front_base & champ_front()
virtual void resetTime(double time)
virtual void set_temps_defaut(double temps)
Changes the i-th future time of the BC.
virtual void associer_domaine_cl_dis_base(const Domaine_Cl_dis_base &)
Associates the Domaine_Cl_dis_base (domain of discretized boundary conditions) with the object.
class Discretisation_base This class represents a spatial discretization scheme, which
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
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 Motcle & domaine_application() const
Returns "indeterminate" Navier_Stokes_standard for example overrides this method.
class Frontiere_dis_base Class representing a discretized boundary.
A character string (Nom) in uppercase.
class Nom: a character string for naming TRUST objects.
Base class for TRUST objects (Objet_U).
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.