16#include <Source_Generique_VDF_Face.h>
17#include <Dirichlet_homogene.h>
18#include <Equation_base.h>
19#include <Domaine_Cl_VDF.h>
21#include <Milieu_base.h>
23#include <Domaine_VDF.h>
42 const Champ_base& champ_calc = ch_source_->get_champ(espace_stockage);
43 const DoubleTab& valeurs_calc = champ_calc.
valeurs();
45 int nb_faces = le_dom_VDF->nb_faces();
46 const DoubleVect& vol_entrelaces = le_dom_VDF->volumes_entrelaces();
48 int nb_front_cl = le_dom_VDF->nb_front_Cl();
49 int premiere_face_interne = le_dom_VDF->premiere_face_int();
52 for (
int num_cl = 0; num_cl < nb_front_cl; num_cl++)
54 const Cond_lim& la_cl = la_zcl_VDF->les_conditions_limites(num_cl);
57 int nfin = ndeb + le_bord.
nb_faces();
60 for (num_face = ndeb; num_face < nfin; num_face++)
62 secmem(num_face) += valeurs_calc(num_face) * vol_entrelaces(num_face) * poro_face(num_face);
66 for (num_face=premiere_face_interne; num_face<nb_faces; num_face++)
67 secmem(num_face) += valeurs_calc(num_face)*vol_entrelaces(num_face)*poro_face(num_face);
virtual DoubleTab & valeurs()=0
class Champ_base This class is the base of the fields hierarchy.
class Cond_lim Generic class used to represent any class
Classe Dirichlet_homogene This class is the base class of the hierarchy of homogeneous Dirichlet-type...
Dirichlet This class is the base class of the hierarchy of Dirichlet-type boundary conditions.
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.
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.
class Nom: a character string for naming TRUST objects.
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.
class Source_Generique_VDF_Face
void associer_domaines(const Domaine_dis_base &, const Domaine_Cl_dis_base &) override
void ajouter_blocs(matrices_t matrices, DoubleTab &secmem, const tabs_t &semi_impl) const override
Nom localisation_source() override
Source_Generique_base This class is the base of the source term hierarchy carrying.
OWN_PTR(Champ_Generique_base) ch_source_
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")