16#include <Terme_Source_Qdm_Face_PolyMAC_CDO.h>
17#include <Neumann_sortie_libre.h>
18#include <Domaine_Cl_PolyMAC_family.h>
19#include <Neumann_homogene.h>
20#include <Domaine_PolyMAC_CDO.h>
21#include <Champ_Uniforme.h>
23#include <Equation_base.h>
24#include <Milieu_base.h>
34 if (la_source->nb_comp() !=
equation().inconnue().nb_comp())
36 Cerr <<
"Error reading the source term of type " <<
que_suis_je() << finl;
37 Cerr <<
"the source field must have " <<
dimension <<
" components" << finl;
57 for (
int n_bord = 0; n_bord < domaine_PolyMAC_CDO.
nb_front_Cl(); n_bord++)
68 resu(f) += fac * la_source->valeurs()(sub_type(
Champ_Uniforme,la_source.valeur()) ? 0 : e, r) * (domaine_PolyMAC_CDO.
xv(f, r) - domaine_PolyMAC_CDO.
xp(e, r));
75 for (
int i = 0; i < 2; i++)
77 resu(f) += fac * la_source->valeurs()(sub_type(
Champ_Uniforme,la_source.valeur()) ? 0 : e, r) * (domaine_PolyMAC_CDO.
xv(f, r) - domaine_PolyMAC_CDO.
xp(e, r)) * (i ? -1 : 1);
90 la_source->mettre_a_jour(temps);
class Cond_lim Generic class used to represent any class
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
const Cond_lim & les_conditions_limites(int) const
Returns the i-th boundary condition.
virtual const DoubleVect & face_surfaces() const
int nb_faces() const
Returns the total number of faces.
double xv(int num_face, int k) const
double xp(int num_elem, int k) const
int premiere_face_int() const
A face is internal if and only if it separates two elements.
int face_voisins(int num_face, int i) const
Returns the neighbouring element of num_face in direction i.
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
Class defining operators and methods for all reading operation in an input flow (file,...
virtual const Milieu_base & milieu() const =0
int num_premiere_face() const
DoubleVect & porosite_face()
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
Classe Neumann_homogene This class is the base class of the hierarchy of homogeneous Neumann-type bou...
Classe Neumann_val_ext This class is the base class of the hierarchy of.
Classe Neumann This class is the base class of the hierarchy of Neumann-type boundary conditions.
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.
Source_base A Source_base object is a term appearing on the right-hand side of an.
virtual int has_interface_blocs() const
virtual DoubleTab & ajouter(DoubleTab &) const
void mettre_a_jour(double) override
DOES NOTHING - to override in derived classes.
DoubleTab & ajouter(DoubleTab &) const override
DoubleTab & calculer(DoubleTab &) const override
void associer_domaines(const Domaine_dis_base &, const Domaine_Cl_dis_base &) override