16#ifndef Operateur_Div_included
17#define Operateur_Div_included
19#include <Operateur_Div_base.h>
20#include <TRUST_Deriv.h>
37 DoubleTab&
ajouter(
const DoubleTab&, DoubleTab& )
const override;
38 DoubleTab&
calculer(
const DoubleTab&, DoubleTab& )
const override;
40 void typer ()
override;
70 valeur().volumique(div);
75 return this->
operator bool();
Operateur_Div Generic class of the hierarchy of operators computing the divergence.
Operateur_base & l_op_base() override
Returns the underlying object upcast to Operateur_base.
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.
void volumique(DoubleTab &) const
Initializes the array passed as parameter with the contribution of the operator.
int op_non_nul() const override
DoubleTab & ajouter(const DoubleTab &, DoubleTab &) const override
Adds the contribution of the operator to the array passed as parameter.
class Operateur_base This class is the base of the hierarchy of objects representing an
class Operateur Generic class of the operator hierarchy.