16#include <Discretisation_base.h>
17#include <Op_Conv_negligeable.h>
18#include <Operateur_Conv.h>
19#include <Perf_counters.h>
20#include <Champ_base.h>
49 if ((mon_equation->le_nom() ==
"pb_sensibiliteNavier_Stokes_standard_sensibility") && (valeur().que_suis_je()!=
"Op_Conv_sensibility_VEF_P1NC"))
51 Cerr<<
" You should use the sensibility convection operator within Navier_Stokes_standard_sensibility equation "<<finl;
52 Cerr<<
" Exemple: convection { sensibility { amont } } "<<finl;
56 if (!sub_type(Op_Conv_negligeable, valeur()) && mon_equation->domaine_dis().domaine().que_suis_je().contient(
"ALE") && !valeur().que_suis_je().contient(
"ALE"))
58 Cerr<<
" You should use the ALE convection operator within the Navier_Stokes_standard_ALE/Navier_Stokes_Turbulent_ALE equation "<<finl;
59 Cerr<<
" Exemple: convection { ALE amont } "<<finl;
80 valeur().associer_vitesse(
vitesse());
82 Cerr << valeur().que_suis_je() << finl;
92 DoubleTab& resu)
const
94 statistics().begin_count(STD_COUNTERS::convection,statistics().get_last_opened_counter_level()+1);
95 DoubleTab& tmp = valeur().ajouter(donnee, resu);
96 statistics().end_count(STD_COUNTERS::convection);
107 DoubleTab& resu)
const
109 statistics().begin_count(STD_COUNTERS::convection,statistics().get_last_opened_counter_level()+1);
110 DoubleTab& tmp = valeur().calculer(donnee, resu);
111 statistics().end_count(STD_COUNTERS::convection);
118 valeur().associer_norme_vitesse(norme_vitesse);
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_Conv_base This class is the base of the hierarchy of operators representing.
Operateur_Conv Generic class of the hierarchy of operators representing a convection term.
void typer() override
Types the operator: "Op_Conv" + keyword + discretisation + unknown.
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.
const Champ_base & vitesse() const
Returns the transporting velocity of the operator.
void associer_norme_vitesse(const Champ_base &)
int op_non_nul() const override
Entree & lire(Entree &)
Reads an operator from an input stream.
Sortie & ecrire(Sortie &) const
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.