16#include <Operateur_Diff_base.h>
17#include <Milieu_base.h>
18#include <Champ_base.h>
44 Cerr <<
"Operateur_Diff_base::associer_diffusivite_pour_pas_de_temps\n";
45 Cerr <<
" field name : " << diffu.
le_nom();
46 Cerr <<
" unit : " << diffu.
unite() << finl;
48 diffusivite_pour_pas_de_temps_ = diffu;
66 assert( diffusivite_pour_pas_de_temps_ );
67 return diffusivite_pour_pas_de_temps_.valeur();
72 Cerr <<
que_suis_je() <<
" does not support volumic diffusivity (received field " << champ.
le_nom() <<
")." << 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 & le_nom() const override
Returns *this.
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_Diff_base This class is the base of the hierarchy of operators representing.
virtual void associer_diffusivite_volumique(const Champ_base &)
virtual void associer_diffusivite_pour_pas_de_temps(const Champ_base &)
Associates the true diffusivity in m^2/s (in QC for example, the operator is applied to rho*u,...
virtual const Champ_base & diffusivite_pour_pas_de_temps() const
Returns the field corresponding to the true diffusivity of the medium used for the time step computat...
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.