16#include <Champ_Generique_Statistiques_base.h>
17#include <Operateur_Statistique_tps_base.h>
18#include <TRUST_2_PDI.h>
60 if (loc==Entity::ELEMENT)
61 localisation =
"ELEM";
62 else if (loc==Entity::NODE)
66 Cerr<<
"This localization is not valid for postprocessing"<<finl;
88 std::vector<YAML_data> data;
91 data.insert(data.end(), ch.begin(), ch.end());
92 data.insert(data.end(), stat.begin(), stat.end());
110 is >> bidon >> bidon;
148 is >> bidon >> bidon;
Base class of generic fields having other generic fields as source. The use of the class methods reli...
void mettre_a_jour(double temps) override
int sauvegarder(Sortie &os) const override
save the different sources
Entity get_localisation(const int index=-1) const override
Returns the type of geometric entities on which the discrete values are attached (NODE for a P1 field...
virtual void lire_bidon(Entree &is) const
virtual void fixer_tstat_deb(const double t1, const double t2)
virtual OWN_PTR(Champ_Fonc_base) &creer_espace_stockage(const Nature_du_champ &nature
int reprendre(Entree &is) override
resume the different sources
std::vector< YAML_data > data_a_sauvegarder() const override
for PDI IO: retrieve name, type and dimensions of the field to save/restore
void set_param(Param ¶m) const override
virtual void fixer_serie(const double t1, const double t2)
Classe Champ_Generique_Statistiques_base Base class for generic field classes dedicated to statistics...
virtual int completer_post_statistiques(const Domaine &dom, const int is_axi, Format_Post_base &format)
std::vector< YAML_data > data_a_sauvegarder() const override
for PDI IO: retrieve name, type and dimensions of the field to save/restore
virtual const Integrale_tps_Champ & integrale() const =0
void set_param(Param ¶m) const override
Champ_Generique_Statistiques_base()
int reprendre(Entree &is) override
resume the different sources
void fixer_tstat_deb(const double t1, const double t2) override
void fixer_serie(const double t1, const double t2) override
virtual const Operateur_Statistique_tps_base & Operateur_Statistique() const =0
int sauvegarder(Sortie &os) const override
save the different sources
void fixer_tdeb_tfin(const double t_deb, const double t_fin)
void mettre_a_jour(double temps) override
void lire_bidon(Entree &is) const override
class Champ_base This class is the base of the fields hierarchy.
virtual int completer_post_champ(const Domaine &dom, const int axi, const Nom &loc_post, const Nom &le_nom_champ_post, Format_Post_base &format) const
Class defining operators and methods for all reading operation in an input flow (file,...
Base class for post-processing output formats for fields (lata, med, cgns, lml, single_lata).
class Nom: a character string for naming TRUST objects.
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 const Nom & le_nom() const
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
virtual int reprendre(Entree &)
Restores 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.
virtual int sauvegarder(Sortie &) const
Saves an Objet_U to an output stream. Virtual method to override.
virtual std::vector< YAML_data > data_a_sauvegarder() const
virtual void fixer_tstat_fin(double)=0
virtual void initialiser(double val)=0
virtual void fixer_tstat_deb(double, double)=0
virtual void mettre_a_jour(double temps)=0
Helper class to factorize the readOn method of Objet_U classes.
void ajouter(const char *keyword, const int *value, Param::Nature nat=Param::OPTIONAL)
Register an integer parameter.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
void jump(Entree &) override
static int is_PDI_restart()