16#include <Discretisation_base.h>
17#include <Operateur_Div.h>
18#include <Perf_counters.h>
43 Cerr <<
"Construction of the divergence operator type : ";
44 Cerr << valeur().que_suis_je() << finl ;
54 DoubleTab& resu)
const
56 statistics().begin_count(STD_COUNTERS::divergence,statistics().get_last_opened_counter_level()+1);
57 DoubleTab& tmp = valeur().ajouter(donnee, resu);
58 statistics().end_count(STD_COUNTERS::divergence);
70 DoubleTab& resu)
const
72 statistics().begin_count(STD_COUNTERS::divergence,statistics().get_last_opened_counter_level()+1);
73 DoubleTab& tmp = valeur().calculer(donnee, resu);
74 statistics().end_count(STD_COUNTERS::divergence);
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.
class Nom: a character string for naming TRUST objects.
Classe Operateur_Div_base This class is the base of the hierarchy of operators representing.
Operateur_Div Generic class of the hierarchy of operators computing the divergence.
void typer() override
Types the operator: types as "Op_div_"+discretisation()+.
DoubleTab & calculer(const DoubleTab &, DoubleTab &) const override
Initializes the array passed as parameter with the contribution of the operator.
DoubleTab & ajouter(const DoubleTab &, DoubleTab &) const override
Adds the contribution of the operator to the array passed as parameter.
Entree & lire(Entree &)
Reads an operator from an input stream.
Sortie & ecrire(Sortie &) const
Base class for output streams.