16#include <Discretisation_base.h>
17#include <Operateur_Grad.h>
18#include <Probleme_base.h>
19#include <Perf_counters.h>
44 Cerr <<
"Construction of the gradient operator type : ";
45 Cerr << valeur().que_suis_je() << finl ;
60 DoubleTab& resu)
const
62 statistics().begin_count(STD_COUNTERS::gradient,statistics().get_last_opened_counter_level()+1);
63 DoubleTab& tmp = valeur().ajouter(donnee, resu);
64 statistics().end_count(STD_COUNTERS::gradient);
76 DoubleTab& resu)
const
78 statistics().begin_count(STD_COUNTERS::gradient,statistics().get_last_opened_counter_level()+1);
79 DoubleTab& tmp = valeur().calculer(donnee, resu);
80 statistics().end_count(STD_COUNTERS::gradient);
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.
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.
Classe Operateur_Grad_base This class is the base of the hierarchy of operators representing.
Classe Operateur_Grad Generic class of the hierarchy of operators computing the gradient.
DoubleTab & calculer(const DoubleTab &, DoubleTab &) const override
Initializes the array passed as parameter with the contribution of the operator.
void typer_direct(const Nom &)
DoubleTab & ajouter(const DoubleTab &, DoubleTab &) const override
Adds the contribution of the operator to the array passed as parameter.
void typer() override
Types the operator: types as "Op_Grad_"+discretisation()+.
Entree & lire(Entree &)
Reads an operator from an input stream.
Sortie & ecrire(Sortie &) const
Base class for output streams.