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

#include <Postraitement_FTD.h>

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

Public Member Functions

void set_param (Param &param) const override
void init () override
 Initializes the post-processing.
Public Member Functions inherited from Postraitement_FTD_base
int lire_motcle_non_standard (const Motcle &, Entree &) override
 Reads non-simple-type parameters of an Objet_U from an input stream.
int write_extra_mesh () override
 Override. Add the interfaces to the file output.
void postprocess_field_values () override
Public Member Functions inherited from Postraitement
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 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.
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.
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 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 ()

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 Member Functions inherited from Postraitement
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 inherited from Postraitement
int DeprecatedKeepDuplicatedProbes =0
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
Protected Member Functions inherited from Postraitement_FTD_base
int ecrire_maillage_ft_disc ()
 Write the Maillage_FT_Disc object into a LATA file in V2 format.
int filter_out_virtual_fa7 (IntTab &new_fa7)
 Build a reduced version of the facettes array, excluding virtual ones Also update the internal renumbering array for later usage when writing out field values.
void filter_out_array (const DoubleTab &dtab, DoubleTab &new_dtab) const
void lire_champs_interface (Entree &)
 lecture de la liste de champs aux interfaces a postraiter
virtual void lire_entete_bloc_interface (Entree &is)
virtual void register_interface_field (const Motcle &nom_champ, const Motcle &loc_lu)
 OBS_PTR (Transport_Interfaces_FT_Disc) refequation_interfaces
Protected Member Functions inherited from Postraitement
 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 inherited from Postraitement
static LIST (Nom) noms_fichiers_sondes_
Protected Attributes inherited from Postraitement_FTD_base
Motcles liste_champs_i_aux_sommets
Motcles liste_champs_i_aux_elements
Nom id_domaine_
std::vector< int > renum_
bool no_virtuals_ = false
Protected Attributes inherited from Postraitement
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_

Detailed Description

Definition at line 21 of file Postraitement_FTD.h.

Member Function Documentation

◆ init()

void Postraitement_FTD::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.

Definition at line 34 of file Postraitement_FTD.cpp.

◆ set_param()

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

Reimplemented from Postraitement.

Definition at line 23 of file Postraitement_FTD.cpp.


The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/triocfd-documentation/checkouts/next/src/Multiphase/Front_tracking_discontinu/VDF_VEF/Postraitement/Postraitement_FTD.h
  • /home/docs/checkouts/readthedocs.org/user_builds/triocfd-documentation/checkouts/next/src/Multiphase/Front_tracking_discontinu/VDF_VEF/Postraitement/Postraitement_FTD.cpp