16#include <Raccord_distant_homogene.h>
17#include <Frontiere_dis_base.h>
18#include <Champ_front_calc.h>
19#include <Probleme_Couple.h>
20#include <Equation_base.h>
21#include <Probleme_base.h>
22#include <Interprete.h>
24#include <Domaine_VF.h>
84 Cerr <<
"We did not find problem with name " << nom_pb << finl;
88 rch = autre_pb->get_champ(nom_inco);
96 Cerr << autre_pb->le_nom() <<
" did not have unknown field with name " << nom_inco << finl;
115 if (
distant_ && !sub_type(Raccord_distant_homogene, frontiere_opposee))
118 Cerr <<
"Error, the boundary " << frontiere_opposee.
le_nom() <<
" should be a Raccord." << finl;
119 Cerr <<
"Add in your data file between the definition and the partition of the domain " << nom_domaine_oppose <<
" :" << finl;
120 Cerr <<
"Modif_bord_to_raccord " << nom_domaine_oppose <<
" " << frontiere_opposee.
le_nom() << finl;
125 Raccord_distant_homogene& raccord_distant = ref_cast_non_const(Raccord_distant_homogene, frontiere_opposee);
127 raccord_distant.
initialise(frontiere_locale, domaine_dis_locale, domaine_dis_opposee);
177 l_inconnue->trace(frontiere_dis_opposee,tab,temps,
distant_ );
186 return l_inconnue.valeur();
206 Cerr <<
"\nError in Champ_front_calc::equation() : not able to return the equation !" << finl;
class Ch_front_var_instationnaire_dep This abstract class represents a field on a boundary,
int initialiser(double temps, const Champ_Inc_base &inco) override
Initialization at the beginning of calculation.
const Domaine_dis_base & domaine_dis_base() const override
class Champ_base This class is the base of the fields hierarchy.
class Champ_front_base Base class for the hierarchy of boundary fields.
virtual const Frontiere_dis_base & frontiere_dis() const
Returns the discretized boundary associated with the field.
class Champ_front_calc Derived class of Champ_front_var representing
const Frontiere_dis_base & front_dis() const
Returns the discretized boundary corresponding to the domain on which the trace is taken.
void creer(const Nom &, const Nom &, const Motcle &)
Create the Champ_front_calc object representing the trace of an unknown field on a boundary from name...
const Nom & nom_bord_oppose() const
Returns the name of the boundary on which the trace is computed.
int initialiser(double, const Champ_Inc_base &) override
Initialization at the beginning of calculation.
const Domaine_Cl_dis_base & domaine_Cl_dis() const
Returns the domain of discretized boundary conditions carried by the equation carrying the unknown fi...
Champ_front_base & affecter_(const Champ_front_base &ch) override
Not implemented.
const Equation_base & equation() const
Returns the equation associated with the unknown whose trace is taken.
OBS_PTR(Champ_Inc_base) l_inconnue
void associer_ch_inc_base(const Champ_Inc_base &)
Associate the unknown field to the object.
void verifier(const Cond_lim_base &la_cl) const override
void mettre_a_jour(double temps) override
Time update of the field. We simply take the trace of the unknown field at the.
const Champ_Inc_base & inconnue() const
Returns the associated unknown field.
const Domaine_dis_base & domaine_dis() const override
Returns the discretized domain associated with the equation carrying the unknown field whose trace is...
const Milieu_base & milieu() const
Returns the medium associated with the equation carrying the unknown field whose trace is taken.
DoubleTab & valeurs_au_temps(double temps) override
Returns the values at the desired time.
class Cond_lim_base Base class for the hierarchy of classes that represent the different boundary con...
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
const Nom & le_nom() const override
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
const Frontiere_dis_base & frontiere_dis(const Nom &) const
Returns the boundary of Name nom.
const Domaine & domaine() 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 Milieu_base & milieu() const =0
virtual Domaine_Cl_dis_base & domaine_Cl_dis()
Returns the discretized boundary condition domain associated with the equation.
virtual void fixer_nb_comp(int i)
Sets the number of components of the field.
const Nom & le_nom() const override
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
class Frontiere_dis_base Class representing a discretized boundary.
const Frontiere & frontiere() const
Returns the associated geometric boundary.
const Domaine_dis_base & domaine_dis() const
static Objet_U & objet(const Nom &)
See Interprete_bloc::objet_global(). BM: the Interprete class is not the best place for this.
Milieu_base This class is the base of the (physical) medium hierarchy.
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
A character string (Nom) in uppercase.
class Nom: a character string for naming TRUST objects.
Base class for TRUST objects (Objet_U).
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.
class Probleme_base It is a Probleme_U that is not a coupling.
static int nproc()
Returns the number of processors in the current group. See Comm_Group::nproc() and PE_Groups::current...
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
void initialise(const Frontiere_t &, const Domaine_dis_base &, const Domaine_dis_base &)
Base class for output streams.