TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Postraitement Class Reference

class Postraitement. The class holds -a list of generic fields champs_post_complet_ containing More...

#include <Postraitement.h>

Inheritance diagram for Postraitement:
[legend]
Collaboration diagram for Postraitement:
[legend]

Public Member Functions

void associer_nom_et_pb_base (const Nom &, const Probleme_base &) override
void postraiter (int forcer) override
void mettre_a_jour (double temps) override
void finir () override
 Finalise le postraitement Ferme le fichier associe.
std::vector< YAML_datadata_a_sauvegarder () const override
 for PDI IO: retrieve name, type and dimensions of the fields to save/restore
int sauvegarder (Sortie &os) const override
 Saves an Objet_U to an output stream. Virtual method to override.
int reprendre (Entree &is) override
 Restores an Objet_U from an input stream. Virtual method to override.
void completer () override
void completer_sondes () override
void init () override
 Initializes the post-processing.
void set_param (Param &param) const override
int lire_motcle_non_standard (const Motcle &, Entree &) override
 Reads non-simple-type parameters of an Objet_U from an input stream.
void resetTime (double t, const std::string dirname) override
void modify_cgns_basenames_and_reinit (const int, const int)
 Postraitement ()
 Default constructor.
const Sondesles_sondes () const
Sondesles_sondes ()
Probleme_baseprobleme ()
const Probleme_baseprobleme () const
int postraiter_sondes ()
 Effectue le postraitement lie au sondes de facon imperative.
int traiter_sondes ()
 Mets a jour (en temps) le sondes.
virtual int postraiter_champs ()
 Effectue le postraitement des Champs de facon imperative.
virtual void postprocess_field_values ()
int traiter_champs ()
 Effectue le postraitement des Champs si cela est necessaire.
virtual int lire_champs_a_postraiter (Entree &is, bool expect_acco)
 Lit le nom des champs a postraiter sur un flot d'entree.
int lire_champs_stat_a_postraiter (Entree &, bool expect_acco)
int lire_champs_operateurs (Entree &is)
 Lit les champs a postraiter sur un flot d'entree.
void complete_champ (Champ_Generique_base &champ, const Motcle &motlu)
int postraiter_tableaux ()
int traiter_tableaux ()
int lire_tableaux_a_postraiter (Entree &)
int lpost (double, double) const
int lpost_champ (double) const
int lpost_stat (double) const
int ind_post (int nb_pas_dt) const
int nb_pas_dt_post () const
double dt_post () const
const Nomformat () const
Nom nom_fich () const
int & est_le_premier_postraitement_pour_nom_fich ()
int & est_le_dernier_postraitement_pour_nom_fich ()
Operateurs_Statistique_tpsles_statistiques ()
int sondes_demande ()
int champs_demande ()
int stat_demande () const
int stat_demande_definition_champs () const
int tableaux_demande ()
bool besoin_postraiter_champs ()
 LIST (Nom) &noms_champs_a_post()
const Liste_Champ_Generiquechamps_post_complet () const
int postraiter (const Domaine &dom, const Noms &unites, const Noms &noms_compo, const int ncomp, const double temps, Nom nom_post, const Nom &localisation, const Nom &nature, const DoubleTab &valeurs, int tenseur)
int postraiter_tableau (const Domaine &dom, const Noms &unites, const Noms &noms_compo, const int ncomp, const double temps, Nom nom_post, const Nom &localisation, const Nom &nature, const DoubleTab &valeurs)
int postraiter_tenseur (const Domaine &dom, const Noms &unites, const Noms &noms_compo, const int ncomp, const double temps, Nom nom_post, const Nom &localisation, const Nom &nature, const DoubleTab &valeurs)
virtual const Champ_Generique_baseget_champ_post (const Motcle &nom) const
virtual bool has_champ_post (const Motcle &nom) const
Nom set_expression_champ (const Motcle &motlu1, const Motcle &motlu2, const Motcle &motlu3, const Motcle &motlu4, const int trouve)
void creer_champ_post (const Motcle &motlu1, const Motcle &motlu2, Entree &s)
void creer_champ_post_stat (const Motcle &motlu1, const Motcle &motlu2, const Motcle &motlu3, const Motcle &motlu4, const double t_deb, const double t_fin, Entree &s)
void creer_champ_post_moreqn (const Motcle &type, const Motcle &option, const int num_eq, const int num_morceau, const int compo, Entree &s)
void creer_champ_post_med (const Motcle &motlu1, const Motcle &motlu2, Entree &s)
int comprend_champ_post (const Motcle &identifiant) const
void verifie_nom_et_sources (const Champ_Generique_base &champ)
int champ_fonc (Motcle &nom_champ, OBS_PTR(Champ_base)&mon_champ, OBS_PTR(Operateur_Statistique_tps_base)&operateur_statistique) const
int & compteur_champ_stat ()
 Post-processing test taking into account the time evolution of the field.
const double & tstat_deb () const
const double & tstat_fin () const
int cherche_stat_dans_les_sources (const Champ_Gen_de_Champs_Gen &ch, Motcle nom)
 On recherche les champs statistiques dans les sources du champ courant.
virtual int write_extra_mesh ()
const OBS_PTR (Domaine) &domaine()
Public Member Functions inherited from Postraitement_base
 Postraitement_base ()
const Nomle_nom () const override
 Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
int lire_motcle_non_standard (const Motcle &, Entree &) override
 Reads non-simple-type parameters of an Objet_U from an input stream.
int sauvegarder (Sortie &os) const override
 Saves an Objet_U to an output stream. Virtual method to override.
int reprendre (Entree &is) override
 Restores an Objet_U from an input stream. Virtual method to override.
Public Member Functions inherited from Objet_U
 ~Objet_U () override
 Destructor. Removes the object from the list of objects registered in "memory".
int numero () const
 Returns the index of the object in Memoire::data.
virtual int duplique () const =0
virtual SortieprintOn (Sortie &) const
 Writes the object to an output stream. Virtual method to override.
virtual EntreereadOn (Entree &)
 Reads an Objet_U from an input stream. Virtual method to override.
virtual unsigned taille_memoire () const =0
virtual int est_egal_a (const Objet_U &) const
 Returns 1 if x and *this are the same instance (same memory address).
virtual void nommer (const Nom &)
 Assigns a name to the Objet_U. Virtual method to override.
int get_object_id () const
 Returns the unique identifier of the object (object_id_).
virtual const Type_infoget_info () const
 Returns type information for the Objet_U.
const Nomque_suis_je () const
 Returns the string identifying the class.
const char * le_type () const
 Returns the type name of the Objet_U.
virtual int change_num (const int *const)
 Changes the internal number of the Objet_U.
virtual int associer_ (Objet_U &)
 Associates the Objet_U with another Objet_U. Virtual method to override.
const Interpreteinterprete () const
Interpreteinterprete ()
Public Member Functions inherited from Process
virtual ~Process ()

Static Public Member Functions

static LIST (Nom) &noms_fichiers_sondes()
static Nom get_nom_localisation (const Entity &loc)
Static Public Member Functions inherited from Objet_U
static const Nomnom_du_cas ()
 Returns a constant reference to the case name. This method is static.
static Nomget_set_nom_du_cas ()
 Returns a non-constant reference to the case name (to allow modification). This method is static.
static const Type_infoinfo ()
 Returns type information for the Objet_U (static version).
static const Objet_Uself_cast (const Objet_U &)
 Method added for casting in Python.
static Objet_Uself_cast (Objet_U &)
Static Public Member Functions inherited from Process
static int me ()
 Returns the rank of the local processor in the current communication group. See Comm_Group::rank() and PE_Groups::current_group().
static int nproc ()
 Returns the number of processors in the current group. See Comm_Group::nproc() and PE_Groups::current_group().
static bool is_parallel ()
static void exit (int exit_code=-1)
 Exit routine for TRUST within a Kokkos region.
static double mp_sum (double)
 Computes the sum of x over all processors in the current group.
static float mp_sum (float)
static trustIdType mp_sum (trustIdType)
 Computes the sum of x over all processors in the current group.
static double mp_max (double)
static double mp_min (double)
static int mp_max (int)
 Returns the maximum value of x across all processors in the current group.
static int mp_min (int)
 Returns the minimum value of x across all processors in the current group.
static double mp_sum_as_double (int v)
static trustIdType mppartial_sum (trustIdType i)
 Computes the partial sum of x over processors 0 to me()-1 (returns 0 on processor 0).
template<typename T>
static void mp_sum_for_each (T &arg1, T &arg2)
 C++14 compatible mp_sum_for_each: combine multiple mp_sum calls into one collective operation Usage: mp_sum_for_each(a, b); mp_sum_for_each(a, b, c); mp_sum_for_each(a, b, c, d); mp_sum_for_each(a, b, c, d, e); All arguments must be of the same type (double or int) and are modified in place. Supports 2-5 parameters.
template<typename T>
static void mp_sum_for_each (T &arg1, T &arg2, T &arg3)
template<typename T>
static void mp_sum_for_each (T &arg1, T &arg2, T &arg3, T &arg4)
template<typename T>
static void mp_sum_for_each (T &arg1, T &arg2, T &arg3, T &arg4, T &arg5)
template<typename T>
static void mp_max_for_each (T &arg1, T &arg2)
 C++14 compatible mp_max_for_each: combine multiple mp_max calls into one collective operation.
template<typename T>
static void mp_max_for_each (T &arg1, T &arg2, T &arg3)
template<typename T>
static void mp_max_for_each (T &arg1, T &arg2, T &arg3, T &arg4)
template<typename T>
static void mp_max_for_each (T &arg1, T &arg2, T &arg3, T &arg4, T &arg5)
template<typename T>
static void mp_min_for_each (T &arg1, T &arg2)
 C++14 compatible mp_min_for_each: combine multiple mp_min calls into one collective operation.
template<typename T>
static void mp_min_for_each (T &arg1, T &arg2, T &arg3)
template<typename T>
static void mp_min_for_each (T &arg1, T &arg2, T &arg3, T &arg4)
template<typename T>
static void mp_min_for_each (T &arg1, T &arg2, T &arg3, T &arg4, T &arg5)
template<typename _TYPE_>
static void mp_sum_for_each_item (TRUSTArray< _TYPE_ > &x, int n=-1)
template<typename _TYPE_>
static void mp_max_for_each_item (TRUSTArray< _TYPE_ > &x, int n=-1)
template<typename _TYPE_>
static void mp_min_for_each_item (TRUSTArray< _TYPE_ > &x, int n=-1)
static bool mp_and (bool)
 Computes the logical AND of b across all processors in the current group.
static bool mp_or (bool)
static int check_int_overflow (trustIdType)
static int je_suis_maitre ()
 Returns 1 if on the master processor of the current group (i.e. me() == 0), 0 otherwise.
static KOKKOS_INLINE_FUNCTION void Kokkos_exit (const char *)
 Exit routine for TRUST within a Kokkos region.
static int node_master ()
 Returns 1 if on the NUMA node master processor, 0 otherwise.
static void exit (const Nom &message, int exit_code=-1)
static bool is_sequential ()
static void barrier ()
 Synchronizes all processors in the current group (waits until all processors have reached the barrier).
static void abort ()
 Abort routine for TRUST on a fatal error.
static SortieJournal (int message_level=0)
 Returns a static Sortie object used as an event journal.
static double ram_processeur ()
static void imprimer_ram_totale (int all_process=0)
static bool force_single_file (const int ranks, const Nom &filename)

Public Attributes

int DeprecatedKeepDuplicatedProbes =0

Protected Member Functions

 LIST (Nom) noms_champs_a_post_
 LIST (OBS_PTR(IntVect)) tableaux_a_postraiter_
 LIST (Nom) noms_tableaux_
 OWN_PTR (Format_Post_base) format_post_
void add_locs_required_if_not (const Motcle &)
 OBS_PTR (Domaine) le_domaine_
 OBS_PTR (Domaine_dis_base) domaine_dis_pour_faces_
Protected Member Functions inherited from Postraitement_base
 OBS_PTR (Probleme_base) mon_probleme
Protected Member Functions inherited from Objet_U
 Objet_U ()
 Default constructor: assigns a unique identifier to the object (object_id_) and registers the object in "memory" by giving it a num_obj number.
 Objet_U (const Objet_U &)
 Copy constructor.
const Objet_Uoperator= (const Objet_U &)
 Assignment operator: does nothing (the number and identifier are preserved).

Static Protected Member Functions

static LIST (Nom) noms_fichiers_sondes_

Protected Attributes

int est_le_premier_postraitement_pour_nom_fich_
int est_le_dernier_postraitement_pour_nom_fich_
double dt_post_
 output of data (fields, stats, int_array) every dt_post (a time interval)
int nb_pas_dt_post_
 output of data (fields, stats, int_array) every dt_post (a period in number of iterations)
Parser_U fdt_post_
Sondes les_sondes_
Sondes_Int les_sondes_int_
Operateurs_Statistique_tps les_statistiques_
Liste_Champ_Generique champs_post_complet_
int nb_champs_stat_
double tstat_deb_
double tstat_fin_
double tstat_dernier_calcul_
int lserie_
double dt_integr_serie_
std::vector< std::string > locs_required_
bool sondes_demande_
bool champs_demande_
bool stat_demande_
bool stat_demande_definition_champs_
bool tableaux_demande_
int binaire_
Nom nom_fich_
Nom format_
Nom option_para_
Nom suffix_for_reset_
double temps_
double dernier_temps_
Protected Attributes inherited from Postraitement_base
Nom le_nom_
double temps_

Additional Inherited Members

Public Types inherited from Postraitement_base
enum  Format { ASCII , BINAIRE }
enum  Type_Champ { CHAMP =0 , STATISTIQUE =1 }
enum  Localisation { SOMMETS =0 , ELEMENTS =1 , FACES =2 }
enum  Type_Post { ERREUR =-1 , ENTIER =0 , REEL =1 , DOUBLE =2 }
Static Public Attributes inherited from Postraitement_base
static const char *const demande_description = "DESCRIPTION"
Static Public Attributes inherited from Objet_U
static double precision_geom = 1e-10
static constexpr bool HAS_POINTER = false
static int dimension =0
static int format_precision_geom =11
static int axi =0
static int bidim_axi =0
static int DEACTIVATE_SIGINT_CATCH =0
static Type_info info_obj
static bool disable_TU =false
 Flag to disable or not the writing of the .TU files.
static bool stat_per_proc_perf_log =false
 Flag to enable the writing of the statistics detailed per processor in _csv.TU file.
Static Public Attributes inherited from Process
static int exception_sur_exit =0
static int multiple_files =5120

Detailed Description

class Postraitement. The class holds -a list of generic fields champs_post_complet_ containing

                            all generic fields for post-processing
                      -a list of identifiers noms_champs_a_post_ containing the identifiers
                       of the fields to post-process

-Reading of generic fields declared in the "definition_champs" block (added to champs_post_complet_)
and adding to this list the fields created by macro (triggered by old syntax in "champs" and "statistiques")
   Building the identifier list noms_champs_a_post_ during the reading operations
-Updating generic fields, in practice updating the statistical operators for fields that carry one
-post-processing performed in postraiter_champs()
   Iterating over identifiers
   The generic field corresponding to an identifier is retrieved by:             get_champ_post("identifiant")
   For this generic field: field values to write are computed by:                  get_champ(espace_stockage)
                            supplementary info is retrieved by: get_property(), get_time() ...
   Writing the computed values:                                                postraiter(...)

The macros used for creating generic fields are detailed in the .cpp of the class. See creer_champ_post() and creer_champ_post_stat()

See also
Hierarchy of generic fields (Champ_Generique_base), Syntax to follow in the data file, Postraitement {, Sondes, {, ..., }, Definition_champs, {, //Specification of generic fields, }, Champs, {, -Creation of generic field by macro if using old syntax (e.g. vitesse elem) and adding, identifier to noms_champs_a_post_ list, -Adding to the noms_champs_a_post_ list for a field declared in the "definition_champs" block, }, Statistiques, {, t_deb val_1 t_fin_val_2, -Creation of generic field by macro if using old syntax (e.g. Moyenne vitesse elem) and adding, identifier to noms_champs_a_post_ list, }, }

Definition at line 58 of file Postraitement.h.

Constructor & Destructor Documentation

◆ Postraitement()

Postraitement::Postraitement ( )

Default constructor.

Post-processing frequencies are set to 1e6 by default. No post-processing is requested initially.

Definition at line 64 of file Postraitement.cpp.

Member Function Documentation

◆ add_locs_required_if_not()

void Postraitement::add_locs_required_if_not ( const Motcle & motlu2)
protected

Definition at line 2108 of file Postraitement.cpp.

◆ associer_nom_et_pb_base()

void Postraitement::associer_nom_et_pb_base ( const Nom & nom,
const Probleme_base & pb )
overridevirtual

Reimplemented from Postraitement_base.

Definition at line 89 of file Postraitement.cpp.

◆ besoin_postraiter_champs()

bool Postraitement::besoin_postraiter_champs ( )
inline

Definition at line 125 of file Postraitement.h.

◆ champ_fonc()

int Postraitement::champ_fonc ( Motcle & nom_champ,
OBS_PTR(Champ_base)& mon_champ,
OBS_PTR(Operateur_Statistique_tps_base)& operateur_statistique ) const

Definition at line 240 of file Postraitement.cpp.

◆ champs_demande()

int Postraitement::champs_demande ( )
inline

Definition at line 121 of file Postraitement.h.

◆ champs_post_complet()

const Liste_Champ_Generique & Postraitement::champs_post_complet ( ) const
inline

Definition at line 127 of file Postraitement.h.

◆ cherche_stat_dans_les_sources()

int Postraitement::cherche_stat_dans_les_sources ( const Champ_Gen_de_Champs_Gen & ch,
Motcle nom )

On recherche les champs statistiques dans les sources du champ courant.

Definition at line 1458 of file Postraitement.cpp.

◆ complete_champ()

void Postraitement::complete_champ ( Champ_Generique_base & champ,
const Motcle & motlu )

Definition at line 1528 of file Postraitement.cpp.

◆ completer()

void Postraitement::completer ( )
overridevirtual

Implements Postraitement_base.

Definition at line 1203 of file Postraitement.cpp.

◆ completer_sondes()

void Postraitement::completer_sondes ( )
overridevirtual

Reimplemented from Postraitement_base.

Definition at line 1208 of file Postraitement.cpp.

◆ comprend_champ_post()

int Postraitement::comprend_champ_post ( const Motcle & identifiant) const

Definition at line 2580 of file Postraitement.cpp.

◆ compteur_champ_stat()

int & Postraitement::compteur_champ_stat ( )
inline

Post-processing test taking into account the time evolution of the field.

Returns TRUE if the field requires post-processing, given the current time and the time step provided.

Parameters
(doubletemps_courant) current time
(doubledt) the time step just completed
Returns
(int) boolean value, TRUE if the time step and current time provided indicate that post-processing is needed, FALSE otherwise.

Definition at line 251 of file Postraitement.h.

◆ creer_champ_post()

void Postraitement::creer_champ_post ( const Motcle & motlu1,
const Motcle & motlu2,
Entree & s )

Definition at line 2154 of file Postraitement.cpp.

◆ creer_champ_post_med()

void Postraitement::creer_champ_post_med ( const Motcle & motlu1,
const Motcle & motlu2,
Entree & s )

Definition at line 2552 of file Postraitement.cpp.

◆ creer_champ_post_moreqn()

void Postraitement::creer_champ_post_moreqn ( const Motcle & type,
const Motcle & option,
const int num_eq,
const int num_morceau,
const int compo,
Entree & s )

Definition at line 2440 of file Postraitement.cpp.

◆ creer_champ_post_stat()

void Postraitement::creer_champ_post_stat ( const Motcle & motlu1,
const Motcle & motlu2,
const Motcle & motlu3,
const Motcle & motlu4,
const double t_deb,
const double t_fin,
Entree & s )

Definition at line 2302 of file Postraitement.cpp.

◆ data_a_sauvegarder()

std::vector< YAML_data > Postraitement::data_a_sauvegarder ( ) const
overridevirtual

for PDI IO: retrieve name, type and dimensions of the fields to save/restore

Reimplemented from Postraitement_base.

Definition at line 981 of file Postraitement.cpp.

◆ dt_post()

double Postraitement::dt_post ( ) const
inline

Definition at line 113 of file Postraitement.h.

◆ est_le_dernier_postraitement_pour_nom_fich()

int & Postraitement::est_le_dernier_postraitement_pour_nom_fich ( )
inline

Definition at line 118 of file Postraitement.h.

◆ est_le_premier_postraitement_pour_nom_fich()

int & Postraitement::est_le_premier_postraitement_pour_nom_fich ( )
inline

Definition at line 117 of file Postraitement.h.

◆ finir()

void Postraitement::finir ( )
overridevirtual

Finalise le postraitement Ferme le fichier associe.

Reimplemented from Postraitement_base.

Definition at line 1755 of file Postraitement.cpp.

◆ format()

const Nom & Postraitement::format ( ) const
inline

Definition at line 114 of file Postraitement.h.

◆ get_champ_post()

const Champ_Generique_base & Postraitement::get_champ_post ( const Motcle & nom) const
virtual

Definition at line 2598 of file Postraitement.cpp.

◆ get_nom_localisation()

Nom Postraitement::get_nom_localisation ( const Entity & loc)
static

Definition at line 221 of file Postraitement.cpp.

◆ has_champ_post()

bool Postraitement::has_champ_post ( const Motcle & nom) const
virtual

Definition at line 2589 of file Postraitement.cpp.

◆ ind_post()

int Postraitement::ind_post ( int nb_pas_dt) const
inline

Definition at line 110 of file Postraitement.h.

◆ init()

void Postraitement::init ( )
overridevirtual

Initializes the post-processing.

Creates the file associated with the post-processing, writes info about TrioU. Writes the problem to the file.

Reimplemented from Postraitement_base.

Reimplemented in Postraitement_FTD.

Definition at line 1609 of file Postraitement.cpp.

◆ les_sondes() [1/2]

Sondes & Postraitement::les_sondes ( )
inline

Definition at line 88 of file Postraitement.h.

◆ les_sondes() [2/2]

const Sondes & Postraitement::les_sondes ( ) const
inline

Definition at line 87 of file Postraitement.h.

◆ les_statistiques()

Operateurs_Statistique_tps & Postraitement::les_statistiques ( )
inline

Definition at line 119 of file Postraitement.h.

◆ lire_champs_a_postraiter()

int Postraitement::lire_champs_a_postraiter ( Entree & s,
bool expect_acco )
virtual

Lit le nom des champs a postraiter sur un flot d'entree.

Format: { ??? }

Parameters
(Entree&s) un flot d'entree
Returns
(int) always returns 1
Exceptions
accoladeouvrante attendue

Reimplemented in Postprocessing_IJK.

Definition at line 1224 of file Postraitement.cpp.

◆ lire_champs_operateurs()

int Postraitement::lire_champs_operateurs ( Entree & is)

Lit les champs a postraiter sur un flot d'entree.

Definition at line 1492 of file Postraitement.cpp.

◆ lire_champs_stat_a_postraiter()

int Postraitement::lire_champs_stat_a_postraiter ( Entree & s,
bool expect_acco )

Definition at line 1372 of file Postraitement.cpp.

◆ lire_motcle_non_standard()

int Postraitement::lire_motcle_non_standard ( const Motcle & motlu,
Entree & is )
overridevirtual

Reads non-simple-type parameters of an Objet_U from an input stream.

Parameters
motluThe name of the keyword to read.
isAn input stream.
Returns
Negative value if the keyword is not understood, otherwise positive value.

Reimplemented from Objet_U.

Reimplemented in Postraitement_FTD_base.

Definition at line 657 of file Postraitement.cpp.

◆ lire_tableaux_a_postraiter()

int Postraitement::lire_tableaux_a_postraiter ( Entree & s)

Definition at line 1547 of file Postraitement.cpp.

◆ LIST() [1/6]

Postraitement::LIST ( Nom ) &
inline

Definition at line 126 of file Postraitement.h.

◆ LIST() [2/6]

Postraitement::LIST ( Nom ) &
inlinestatic

Definition at line 116 of file Postraitement.h.

◆ LIST() [3/6]

Postraitement::LIST ( Nom )
protected

◆ LIST() [4/6]

Postraitement::LIST ( Nom )
staticprotected

◆ LIST() [5/6]

Postraitement::LIST ( Nom )
protected

◆ LIST() [6/6]

Postraitement::LIST ( OBS_PTR(IntVect) )
protected

◆ lpost()

int Postraitement::lpost ( double temps_courant,
double dt_post ) const
inline

Definition at line 227 of file Postraitement.h.

◆ lpost_champ()

int Postraitement::lpost_champ ( double ) const
inline

◆ lpost_stat()

int Postraitement::lpost_stat ( double ) const
inline

◆ mettre_a_jour()

void Postraitement::mettre_a_jour ( double temps)
overridevirtual

Reimplemented from Postraitement_base.

Definition at line 135 of file Postraitement.cpp.

◆ modify_cgns_basenames_and_reinit()

void Postraitement::modify_cgns_basenames_and_reinit ( const int nom_cas_fich_ind,
const int count_nom_cas_fich )

Definition at line 377 of file Postraitement.cpp.

◆ nb_pas_dt_post()

int Postraitement::nb_pas_dt_post ( ) const
inline

Definition at line 111 of file Postraitement.h.

◆ nom_fich()

Nom Postraitement::nom_fich ( ) const
inline

Definition at line 115 of file Postraitement.h.

◆ OBS_PTR() [1/3]

const Postraitement::OBS_PTR ( Domaine ) &
inline

Definition at line 182 of file Postraitement.h.

◆ OBS_PTR() [2/3]

Postraitement::OBS_PTR ( Domaine )
protected

◆ OBS_PTR() [3/3]

Postraitement::OBS_PTR ( Domaine_dis_base )
protected

◆ OWN_PTR()

Postraitement::OWN_PTR ( Format_Post_base )
protected

◆ postprocess_field_values()

void Postraitement::postprocess_field_values ( )
virtual

Reimplemented in Postraitement_ft_lata, and Postraitement_FTD_base.

Definition at line 1830 of file Postraitement.cpp.

◆ postraiter() [1/2]

int Postraitement::postraiter ( const Domaine & dom,
const Noms & unites,
const Noms & noms_compo,
const int ncomp,
const double temps,
Nom nom_post,
const Nom & localisation,
const Nom & nature,
const DoubleTab & valeurs,
int tenseur )

Definition at line 1975 of file Postraitement.cpp.

◆ postraiter() [2/2]

void Postraitement::postraiter ( int forcer)
overridevirtual

Implements Postraitement_base.

Definition at line 98 of file Postraitement.cpp.

◆ postraiter_champs()

int Postraitement::postraiter_champs ( )
virtual

Effectue le postraitement des Champs de facon imperative.

Mets a jour les champs crees.

Returns
(int) always returns 1

Reimplemented in Postprocessing_IJK.

Definition at line 1776 of file Postraitement.cpp.

◆ postraiter_sondes()

int Postraitement::postraiter_sondes ( )

Effectue le postraitement lie au sondes de facon imperative.

Returns
(int) always returns 1

Definition at line 1956 of file Postraitement.cpp.

◆ postraiter_tableau()

int Postraitement::postraiter_tableau ( const Domaine & dom,
const Noms & unites,
const Noms & noms_compo,
const int ncomp,
const double temps,
Nom nom_post,
const Nom & localisation,
const Nom & nature,
const DoubleTab & valeurs )

Definition at line 1988 of file Postraitement.cpp.

◆ postraiter_tableaux()

int Postraitement::postraiter_tableaux ( )

Definition at line 1880 of file Postraitement.cpp.

◆ postraiter_tenseur()

int Postraitement::postraiter_tenseur ( const Domaine & dom,
const Noms & unites,
const Noms & noms_compo,
const int ncomp,
const double temps,
Nom nom_post,
const Nom & localisation,
const Nom & nature,
const DoubleTab & valeurs )

Definition at line 2027 of file Postraitement.cpp.

◆ probleme() [1/2]

Probleme_base & Postraitement::probleme ( )
inline

Definition at line 89 of file Postraitement.h.

◆ probleme() [2/2]

const Probleme_base & Postraitement::probleme ( ) const
inline

Definition at line 90 of file Postraitement.h.

◆ reprendre()

int Postraitement::reprendre ( Entree & is)
overridevirtual

Restores an Objet_U from an input stream. Virtual method to override.

Parameters
isInput stream to use for restoration.
Returns
Return code.

Reimplemented from Objet_U.

Definition at line 1074 of file Postraitement.cpp.

◆ resetTime()

void Postraitement::resetTime ( double time,
const std::string dirname )
overridevirtual

When reseting time (see ProblemTrio::resetTime() documentation) we change the name of the postprocessing files with a new suffix. TODO: In the current setup suffix is "" meaning that the previous output are discarded. This might change in the future!

Implements Postraitement_base.

Definition at line 963 of file Postraitement.cpp.

◆ sauvegarder()

int Postraitement::sauvegarder ( Sortie & os) const
overridevirtual

Saves an Objet_U to an output stream. Virtual method to override.

Parameters
osOutput stream to use for saving.
Returns
Return code.

Reimplemented from Objet_U.

Definition at line 1021 of file Postraitement.cpp.

◆ set_expression_champ()

Nom Postraitement::set_expression_champ ( const Motcle & motlu1,
const Motcle & motlu2,
const Motcle & motlu3,
const Motcle & motlu4,
const int trouve )

Definition at line 2038 of file Postraitement.cpp.

◆ set_param()

void Postraitement::set_param ( Param & param) const
overridevirtual

Implements Postraitement_base.

Reimplemented in Postraitement_ft_lata, and Postraitement_FTD.

Definition at line 484 of file Postraitement.cpp.

◆ sondes_demande()

int Postraitement::sondes_demande ( )
inline

Definition at line 120 of file Postraitement.h.

◆ stat_demande()

int Postraitement::stat_demande ( ) const
inline

Definition at line 122 of file Postraitement.h.

◆ stat_demande_definition_champs()

int Postraitement::stat_demande_definition_champs ( ) const
inline

Definition at line 123 of file Postraitement.h.

◆ tableaux_demande()

int Postraitement::tableaux_demande ( )
inline

Definition at line 124 of file Postraitement.h.

◆ traiter_champs()

int Postraitement::traiter_champs ( )

Effectue le postraitement des Champs si cela est necessaire.

Returns
(int) always returns 1

Definition at line 1924 of file Postraitement.cpp.

◆ traiter_sondes()

int Postraitement::traiter_sondes ( )

Mets a jour (en temps) le sondes.

Returns
(int) always returns 1

Definition at line 1967 of file Postraitement.cpp.

◆ traiter_tableaux()

int Postraitement::traiter_tableaux ( )

Definition at line 1943 of file Postraitement.cpp.

◆ tstat_deb()

const double & Postraitement::tstat_deb ( ) const
inline

Definition at line 252 of file Postraitement.h.

◆ tstat_fin()

const double & Postraitement::tstat_fin ( ) const
inline

Definition at line 253 of file Postraitement.h.

◆ verifie_nom_et_sources()

void Postraitement::verifie_nom_et_sources ( const Champ_Generique_base & champ)

Definition at line 2608 of file Postraitement.cpp.

◆ write_extra_mesh()

virtual int Postraitement::write_extra_mesh ( )
inlinevirtual

Calls by postraiter_champs() and allows a derived class to write extra meshes if needed

Returns
-1 if nothing more was written, 1 otherwise.

Reimplemented in Postprocessing_IJK, and Postraitement_FTD_base.

Definition at line 181 of file Postraitement.h.

Member Data Documentation

◆ binaire_

int Postraitement::binaire_
protected

Definition at line 218 of file Postraitement.h.

◆ champs_demande_

bool Postraitement::champs_demande_
protected

Definition at line 217 of file Postraitement.h.

◆ champs_post_complet_

Liste_Champ_Generique Postraitement::champs_post_complet_
protected

Definition at line 197 of file Postraitement.h.

◆ DeprecatedKeepDuplicatedProbes

int Postraitement::DeprecatedKeepDuplicatedProbes =0

Definition at line 183 of file Postraitement.h.

◆ dernier_temps_

double Postraitement::dernier_temps_
protected

Definition at line 221 of file Postraitement.h.

◆ dt_integr_serie_

double Postraitement::dt_integr_serie_
protected

Definition at line 207 of file Postraitement.h.

◆ dt_post_

double Postraitement::dt_post_
protected

output of data (fields, stats, int_array) every dt_post (a time interval)

Definition at line 188 of file Postraitement.h.

◆ est_le_dernier_postraitement_pour_nom_fich_

int Postraitement::est_le_dernier_postraitement_pour_nom_fich_
protected

Definition at line 187 of file Postraitement.h.

◆ est_le_premier_postraitement_pour_nom_fich_

int Postraitement::est_le_premier_postraitement_pour_nom_fich_
protected

Definition at line 187 of file Postraitement.h.

◆ fdt_post_

Parser_U Postraitement::fdt_post_
protected

Definition at line 190 of file Postraitement.h.

◆ format_

Nom Postraitement::format_
protected

Definition at line 219 of file Postraitement.h.

◆ les_sondes_

Sondes Postraitement::les_sondes_
protected

Definition at line 192 of file Postraitement.h.

◆ les_sondes_int_

Sondes_Int Postraitement::les_sondes_int_
protected

Definition at line 193 of file Postraitement.h.

◆ les_statistiques_

Operateurs_Statistique_tps Postraitement::les_statistiques_
protected

Definition at line 194 of file Postraitement.h.

◆ locs_required_

std::vector<std::string> Postraitement::locs_required_
protected

Definition at line 213 of file Postraitement.h.

◆ lserie_

int Postraitement::lserie_
protected

Definition at line 206 of file Postraitement.h.

◆ nb_champs_stat_

int Postraitement::nb_champs_stat_
protected

Definition at line 202 of file Postraitement.h.

◆ nb_pas_dt_post_

int Postraitement::nb_pas_dt_post_
protected

output of data (fields, stats, int_array) every dt_post (a period in number of iterations)

Definition at line 189 of file Postraitement.h.

◆ nom_fich_

Nom Postraitement::nom_fich_
protected

Definition at line 219 of file Postraitement.h.

◆ option_para_

Nom Postraitement::option_para_
protected

Definition at line 219 of file Postraitement.h.

◆ sondes_demande_

bool Postraitement::sondes_demande_
protected

Definition at line 217 of file Postraitement.h.

◆ stat_demande_

bool Postraitement::stat_demande_
protected

Definition at line 217 of file Postraitement.h.

◆ stat_demande_definition_champs_

bool Postraitement::stat_demande_definition_champs_
protected

Definition at line 217 of file Postraitement.h.

◆ suffix_for_reset_

Nom Postraitement::suffix_for_reset_
protected

Definition at line 220 of file Postraitement.h.

◆ tableaux_demande_

bool Postraitement::tableaux_demande_
protected

Definition at line 217 of file Postraitement.h.

◆ temps_

double Postraitement::temps_
protected

Definition at line 221 of file Postraitement.h.

◆ tstat_deb_

double Postraitement::tstat_deb_
protected

Definition at line 203 of file Postraitement.h.

◆ tstat_dernier_calcul_

double Postraitement::tstat_dernier_calcul_
protected

Definition at line 203 of file Postraitement.h.

◆ tstat_fin_

double Postraitement::tstat_fin_
protected

Definition at line 203 of file Postraitement.h.


The documentation for this class was generated from the following files: