16#include <Schema_Temps_base.h>
17#include <Champ_Don_base.h>
18#include <Probleme_base.h>
19#include <Op_Moyenne.h>
35 return is >> ch_moyenne_convergee_;
40 Nom nom_pour_post =
"Moyenne_";
43 const Noms noms = mon_champ->get_property(
"nom");
44 nom_pour_post +=
Motcle(noms[0]);
48 Nom pdi_name = prefix + nom_pour_post;
53 const Champ_base& source = mon_champ->get_champ(espace_stockage_source);
54 const DoubleTab& tab1 = source.
valeurs();
60 valeurs().
copy(tab1, RESIZE_OPTIONS::NOCOPY_NOINIT);
61 if (!ch_moyenne_convergee_)
class Champ_Generique_base
virtual DoubleTab & valeurs()=0
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 & unite() const
Returns the unit of a scalar field whose all components have the same unit.
virtual int nb_comp() const
const Noms & unites() const
Returns the units of the field components.
A character string (Nom) in uppercase.
class Nom: a character string for naming TRUST objects.
An array of character strings (VECT(Nom)).
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.
const Nom & le_nom() const override
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
double dt_integration() const
const DoubleTab & valeurs() const
OWN_PTR(Champ_Don_base) ch_moyenne_convergee_
Entree & lire_ch_moyenne(Entree &is)
Integrale_tps_Champ integrale_champ_
void completer(const Probleme_base &, const Nom &) override
DoubleTab calculer_valeurs() const override
class Operateur_Statistique_tps_base
class Probleme_base It is a Probleme_U that is not a coupling.
const Schema_Temps_base & schema_temps() const
Returns the time scheme associated with the problem.
const Domaine_dis_base & domaine_dis() const
Returns the discretized domain associated with the problem (const version).
double temps_courant() const
Returns the current time.
Base class for output streams.
void copy(const TRUSTTab &, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)