16#include <Champ_Generique_Correlation.h>
17#include <Champ_Generique_Moyenne.h>
18#include <Discretisation_base.h>
19#include <Schema_Temps_base.h>
20#include <Postraitement.h>
21#include <Synonyme_info.h>
45 Motcle nom_champ2 = nom2[0];
54 Motcle nom_champ_moyenne(
"Moyenne_");
55 nom_champ_moyenne += nom_champ;
56 nom_champ_moyenne +=
"_";
58 nom_champ_moyenne +=
"_";
61 Motcle nom_champ_moyenne2(
"Moyenne_");
62 nom_champ_moyenne2 += nom_champ2;
63 nom_champ_moyenne2 +=
"_";
65 nom_champ_moyenne2 +=
"_";
82 Cerr<<
"The specification of the post-processing correlation field "<<finl;
84 Cerr<<
"implies to specify before the corresponding "<<finl;
85 Cerr<<
"post-processing statistics average fields."<<finl;
86 Cerr<<
"Please, modify your data set to specify the post-processing statistics"<<finl;
87 Cerr<<
"average fields before (instead of after) the post-processing correlation field"<<finl;
94 prefix += post.
le_nom() +
"_";
106 Nature_du_champ nature_source = (
nb_comp==1)?scalaire:vectoriel;
108 espace_stockage = creer_espace_stockage(nature_source,
nb_comp,es_tmp);
109 return espace_stockage;
118 Nature_du_champ nature_source = (
nb_comp==1)?scalaire:vectoriel;
119 if (!espace_stockage_)
120 creer_espace_stockage(nature_source,
nb_comp,espace_stockage_);
122 espace_stockage_->changer_temps(
temps());
123 DoubleTab& tab_correlation = espace_stockage_->valeurs();
126 return espace_stockage_;
133 motcles[0] =
"unites";
134 motcles[1] =
"composantes";
136 int rang = motcles.
search(query);
189 Nom nom_post_source, nom_champ_source_1, nom_champ_source_2;
192 nom_champ_source_1 = nom_1[0];
193 nom_champ_source_2 = nom_2[0];
195 nom_post_source =
"Correlation_";
196 nom_post_source += nom_champ_source_1;
197 nom_post_source +=
"_";
198 nom_post_source += nom_champ_source_2;
220 directive =
"champ_elem";
222 directive =
Op_Correlation_.la_moyenne_a().integrale().le_champ()->get_directive_pour_discr();
class Champ_Fonc_base Base class of fields that are functions of a calculated quantity
const Noms get_property(const Motcle &query) const override
Returns the requested property.
void completer(const Postraitement_base &post) override
const Probleme_base & get_ref_pb_base() const override
Returns the problem that carries the target field.
virtual const Champ_Generique_base & get_source(int i) const
const Domaine_dis_base & get_ref_domaine_dis_base() const override
Returns a ref to the discretized domain on which the storage space will be evaluated.
virtual const int nb_comp
class Champ_Generique_Correlation
const Champ_base & get_champ_without_evaluation(OWN_PTR(Champ_base)&espace_stockage) const override
int get_info_type_post() const override
const Noms get_property(const Motcle &query) const override
Returns the requested property.
void completer(const Postraitement_base &post) override
void nommer_source() override
const Integrale_tps_Champ & integrale() const override
const Champ_base & get_champ(OWN_PTR(Champ_base)&espace_stockage) const override
Op_Correlation Op_Correlation_
double temps() const override
const Motcle get_directive_pour_discr() const override
Returns the directive (champ_elem, champ_sommets, champ_face or pression) to launch the discretizatio...
class Champ_Generique_Moyenne OWN_PTR(Champ_base) intended to post-process an average of a generic fi...
Classe Champ_Generique_Statistiques_base Base class for generic field classes dedicated to statistics...
bool use_source_name_only_
class Champ_Generique_base
virtual const Noms get_property(const Motcle &query) const
Returns the requested property.
void nommer(const Nom &nom) override
Assigns a name to the Objet_U. Virtual method to override.
class Champ_base This class is the base of the fields hierarchy.
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
Class defining operators and methods for all reading operation in an input flow (file,...
virtual int nb_comp() const
const Noms & unites() const
Returns the units of the field components.
const Noms & noms_compo() const
Returns the array of names of the field components.
const Champ_Fonc_base & le_champ_calcule() const
class Integrale_tps_produit_champs
A character string (Nom) in uppercase.
An array of Motcle objects.
int search(const Motcle &t) const
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 const Nom & le_nom() const
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
class Operateur_Statistique_tps_base
Base class for all post-processing objects.
const Nom & le_nom() const override
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
class Postraitement. The class holds -a list of generic fields champs_post_complet_ containing
int comprend_champ_post(const Motcle &identifiant) const
virtual const Champ_Generique_base & get_champ_post(const Motcle &nom) const
const Nom & le_nom() const override
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
class Probleme_base It is a Probleme_U that is not a coupling.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")