MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
mstruct_analyse_champ.h
Aller à la documentation de ce fichier.
1 //####//------------------------------------------------------------
2 //####//------------------------------------------------------------
3 //####// MAGiC
4 //####// Jean Christophe Cuilliere et Vincent FRANCOIS
5 //####// Departement de Genie Mecanique - UQTR
6 //####//------------------------------------------------------------
7 //####// MAGIC est un projet de recherche de l equipe ERICCA
8 //####// du departement de genie mecanique de l Universite du Quebec a Trois Rivieres
9 //####// http://www.uqtr.ca/ericca
10 //####// http://www.uqtr.ca/
11 //####//------------------------------------------------------------
12 //####//------------------------------------------------------------
13 //####//
14 //####// mstruct_analyse_champ.h
15 //####//
16 //####//------------------------------------------------------------
17 //####//------------------------------------------------------------
18 //####// COPYRIGHT 2000-2024
19 //####// jeu 13 jun 2024 11:58:56 EDT
20 //####//------------------------------------------------------------
21 //####//------------------------------------------------------------
22 #ifndef _MSTRUCT_ANALYSE_CHAMP_
23 #define _MSTRUCT_ANALYSE_CHAMP_
24 #include "mstruct_analyse.h"
25 #include "ot_mathematique.h"
26 #include <vector>
27 class MSTRUCT_VES;
29 {
30 public:
32  MSTRUCT_ANALYSE_CHAMP(MSTRUCT_VES* ves,std::string identifiant,long id_fem_solution,int nb_champ,double largeur_colonne,std::string nom_groupe_forme="ALL",BOITE_3D* boite_3d=NULL);
33  MSTRUCT_ANALYSE_CHAMP(std::string identifiant,int nb_champ,double largeur_colonne);
34  MSTRUCT_ANALYSE_CHAMP(MSTRUCT_ANALYSE_CHAMP &mdd,bool cpy_data=true);
36  virtual long get_id_fem_solution(void);
37  virtual int get_nb_champ(void);
38  virtual double* get_moyenne(void);
39  virtual double* get_ecart_type(void);
40  virtual double* get_min(void);
41  virtual double* get_max(void);
42  virtual OT_HISTOGRAMME* get_distribution(int num_champ);
43  virtual MSTRUCT_ANALYSE_CHAMP* calculer_ecart(std::string identifiant,double largeur_colonne,MSTRUCT_ANALYSE_CHAMP* champ_compare,int type_ecart);
44  virtual MSTRUCT_ANALYSE_CHAMP* calculer_ecart_chargement(std::string identifiant, double largeur_colonne, int type_chargement, int type_ecart);
45  virtual MSTRUCT_ANALYSE_CHAMP* normaliser(std::string identifiant,double valeur_ref,double largeur_colonne);
46  virtual long get_type(void);
47  virtual void executer(void);
48  virtual void exporter(std::ofstream& ofstrm, long i, bool avec_entete=false, bool avec_graph=false, char* prefix_graph = (char*)"");
49  virtual void enregistrer(std::ofstream& ofstrm);
50  virtual void ouvrir(std::ifstream& ifstrm);
51  virtual void affiche_contenu(fonction_affiche *fonc);
52 protected:
55  double* m_moyenne;
56  double* m_ecart_type;
57  double* m_min;
58  double* m_max;
60 };
61 
62 #endif
OT_HISTOGRAMME
Definition: ot_mathematique.h:34
MSTRUCT_ANALYSE_CHAMP::get_id_fem_solution
virtual long get_id_fem_solution(void)
Definition: mstruct_analyse_champ.cpp:129
MSTRUCT_ANALYSE_CHAMP::MSTRUCT_ANALYSE_CHAMP
MSTRUCT_ANALYSE_CHAMP(void)
Definition: mstruct_analyse_champ.cpp:37
MSTRUCT_ANALYSE_CHAMP::get_ecart_type
virtual double * get_ecart_type(void)
Definition: mstruct_analyse_champ.cpp:144
MSTRUCT_ANALYSE_CHAMP::get_moyenne
virtual double * get_moyenne(void)
Definition: mstruct_analyse_champ.cpp:139
MSTRUCT_ANALYSE_CHAMP::get_type
virtual long get_type(void)
Definition: mstruct_analyse_champ.cpp:164
MSTRUCT_ANALYSE_CHAMP::m_max
double * m_max
Definition: mstruct_analyse_champ.h:58
MSTRUCT_ANALYSE_CHAMP::m_min
double * m_min
Definition: mstruct_analyse_champ.h:57
MSTRUCT_ANALYSE_CHAMP::normaliser
virtual MSTRUCT_ANALYSE_CHAMP * normaliser(std::string identifiant, double valeur_ref, double largeur_colonne)
Definition: mstruct_analyse_champ.cpp:328
MSTRUCT_ANALYSE_CHAMP::enregistrer
virtual void enregistrer(std::ofstream &ofstrm)
Definition: mstruct_analyse_champ.cpp:448
MSTRUCT_ANALYSE
Definition: mstruct_analyse.h:30
MSTRUCT_ANALYSE_CHAMP::m_tab_histogramme
OT_HISTOGRAMME ** m_tab_histogramme
Definition: mstruct_analyse_champ.h:59
MSTRUCT_ANALYSE_CHAMP::get_distribution
virtual OT_HISTOGRAMME * get_distribution(int num_champ)
Definition: mstruct_analyse_champ.cpp:159
MSTRUCT_ANALYSE_CHAMP::m_ecart_type
double * m_ecart_type
Definition: mstruct_analyse_champ.h:56
MSTRUCT_ANALYSE_CHAMP::calculer_ecart
virtual MSTRUCT_ANALYSE_CHAMP * calculer_ecart(std::string identifiant, double largeur_colonne, MSTRUCT_ANALYSE_CHAMP *champ_compare, int type_ecart)
Definition: mstruct_analyse_champ.cpp:169
MSTRUCT_ANALYSE_CHAMP::~MSTRUCT_ANALYSE_CHAMP
~MSTRUCT_ANALYSE_CHAMP(void)
Definition: mstruct_analyse_champ.cpp:116
mstruct_analyse.h
MSTRUCT_ANALYSE_CHAMP::calculer_ecart_chargement
virtual MSTRUCT_ANALYSE_CHAMP * calculer_ecart_chargement(std::string identifiant, double largeur_colonne, int type_chargement, int type_ecart)
Definition: mstruct_analyse_champ.cpp:270
MSTRUCT_VES
Definition: mstruct_ves.h:45
ot_mathematique.h
MSTRUCT_ANALYSE_CHAMP::affiche_contenu
virtual void affiche_contenu(fonction_affiche *fonc)
Definition: mstruct_analyse_champ.cpp:486
MSTRUCT_ANALYSE_CHAMP::m_id_fem_solution
long m_id_fem_solution
Definition: mstruct_analyse_champ.h:53
MSTRUCT_ANALYSE_CHAMP::exporter
virtual void exporter(std::ofstream &ofstrm, long i, bool avec_entete=false, bool avec_graph=false, char *prefix_graph=(char *)"")
Definition: mstruct_analyse_champ.cpp:371
BOITE_3D
Definition: ot_boite_3d.h:27
MSTRUCT_ANALYSE_CHAMP
Definition: mstruct_analyse_champ.h:28
MSTRUCT_ANALYSE_CHAMP::get_max
virtual double * get_max(void)
Definition: mstruct_analyse_champ.cpp:154
MSTRUCT_ANALYSE_CHAMP::m_nb_champ
int m_nb_champ
Definition: mstruct_analyse_champ.h:54
MSTRUCT_ANALYSE_CHAMP::m_moyenne
double * m_moyenne
Definition: mstruct_analyse_champ.h:55
fonction_affiche
void fonction_affiche(char *)
Definition: fct_taille.h:28
MSTRUCT_ANALYSE_CHAMP::get_min
virtual double * get_min(void)
Definition: mstruct_analyse_champ.cpp:149
MSTRUCT_ANALYSE_CHAMP::get_nb_champ
virtual int get_nb_champ(void)
Definition: mstruct_analyse_champ.cpp:134
MSTRUCT_ANALYSE_CHAMP::executer
virtual void executer(void)
Definition: mstruct_analyse_champ.cpp:363
MSTRUCT_ANALYSE_CHAMP::ouvrir
virtual void ouvrir(std::ifstream &ifstrm)
Definition: mstruct_analyse_champ.cpp:465