16#include <Operateur_Conv_base.h>
17#include <Champ_base.h>
45Operateur_Conv_base::Operateur_Conv_base():dt_stab_conv_(-123.) {}
51 Cerr <<
"Operateur_Conv_base::associer_norme_vitesse\n";
52 Cerr <<
" field name : " << norme_vitesse.
le_nom();
53 Cerr <<
" unit : " << norme_vitesse.
unite() << finl;
55 la_norme_vitesse = norme_vitesse;
59 vitesse_pour_pas_de_temps_=vitesse;
66 Cerr <<
"Compressible form of operator \"" <<
que_suis_je() <<
"\" not implemented!" << finl;
74 Cerr <<
"Operateur_Conv_base::set_transporting_velocity_phase_index: "
75 <<
"not implemented for operator '" <<
que_suis_je()
76 <<
"'. Override in the derived class if needed." << finl;
class Champ_base This class is the base of the fields hierarchy.
Class defining operators and methods for all reading operation in an input flow (file,...
const Nom & le_nom() const override
Returns the name of the field.
const Nom & unite() const
Returns the unit of a scalar field whose all components have the same unit.
const Nom & que_suis_je() const
Returns the string identifying the class.
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
Operateur_Conv_base This class is the base of the hierarchy of operators representing.
virtual void set_transporting_velocity_phase_index(int idx)
virtual void set_incompressible(const int)
virtual void associer_norme_vitesse(const Champ_base &norme_vitesse)
virtual void associer_vitesse_pour_pas_de_temps(const Champ_base &vitesse)
class Operateur_base This class is the base of the hierarchy of objects representing an
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
static int je_suis_maitre()
Returns 1 if on the master processor of the current group (i.e. me() == 0), 0 otherwise.
Base class for output streams.