16#include <Discretisation_base.h>
17#include <Operateur_Diff.h>
18#include <Champ_base.h>
53 Cerr <<
"Operateur_Diff::typer("<<
typ<<
")" << finl;
61 assert(la_diffusivite);
67 Cerr << valeur().que_suis_je() << finl;
97 DoubleTab& resu)
const
99 statistics().begin_count(STD_COUNTERS::diffusion,statistics().get_last_opened_counter_level()+1);
100 DoubleTab& tmp = valeur().ajouter(donnee, resu);
101 statistics().end_count(STD_COUNTERS::diffusion);
115 DoubleTab& resu)
const
117 statistics().begin_count(STD_COUNTERS::diffusion,statistics().get_last_opened_counter_level()+1);
118 DoubleTab& tmp = valeur().calculer(donnee, resu);
119 statistics().end_count(STD_COUNTERS::diffusion);
130 return la_diffusivite.valeur();
146 valeur().associer_diffusivite_pour_pas_de_temps(nu);
151 valeur().associer_diffusivite_volumique(champ);
class Champ_base This class is the base of the fields hierarchy.
virtual Nom get_name_of_type_for(const Nom &class_operateur, const Nom &type_operteur, const Equation_base &eqn, const OBS_PTR(Champ_base)&champ_supp=OBS_PTR(Champ_base)()) const
Fills the Nom type depending on the class of operator, the type of operator and the equation.
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....
const Discretisation_base & discretisation() const
Returns the discretization associated with the equation.
A character string (Nom) in uppercase.
class Nom: a character string for naming TRUST objects.
Operateur_Diff_base This class is the base of the hierarchy of operators representing.
Operateur_Diff Generic class of the hierarchy of operators representing a diffusion.
DoubleTab & ajouter(const DoubleTab &, DoubleTab &) const override
Call to the underlying object.
const Champ_base & diffusivite() const
Returns the field representing the diffusivity.
void associer_diffusivite_pour_pas_de_temps(const Champ_base &)
void associer_diffusivite(const Champ_base &)
Associates the diffusivity to the operator.
void associer_diffusivite_volumique(const Champ_base &)
void typer() override
Types the operator: types as "Op_Diff_"+discretisation() + ("_" or "_Multi_inco_") + inconnue()....
DoubleTab & calculer(const DoubleTab &, DoubleTab &) const override
Call to the underlying object.
Operateur_base & l_op_base() override
Returns the underlying object upcast to Operateur_base.
class Operateur_base This class is the base of the hierarchy of objects representing an
Entree & lire(Entree &)
Reads an operator from an input stream.
Sortie & ecrire(Sortie &) const
Base class for output streams.