MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
mstruct_analyse_polycristaux.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_polycristaux.h
15 //####//
16 //####//------------------------------------------------------------
17 //####//------------------------------------------------------------
18 //####// COPYRIGHT 2000-2024
19 //####// jeu 13 jun 2024 11:58:57 EDT
20 //####//------------------------------------------------------------
21 //####//------------------------------------------------------------
22 #ifndef _MSTRUCT_ANALYSE_POLYCRISTAUX_
23 #define _MSTRUCT_ANALYSE_POLYCRISTAUX_
24 
25 #include "ot_mathematique.h"
26 #include "ot_tenseur.h"
27 #include "ot_parametres.h"
28 
29 
31 {
32 public:
34 virtual ~MSTRUCT_POLY_RESULTAT();
35 
37 protected:
38 int essai;
40 int degre;
41 double dg;
42 double KDH;
43 double GDH;
44 double EDH;
45 double KCH;
46 double GCH;
47 double ECH;
51 int nbphase;
53 double masse;
54 double volume;
55 std::vector<OT_VECTEUR_3D> cdmphase;
56 std::vector<int> cristauxphase;
57 std::vector<double> massephase;
58 std::vector<double> volumephase;
60 };
61 
63 {
64 public:
67 
68 void zero(void) {moyenne=0.;ecart=0.;}
69 
70 
72 protected :
73 double moyenne;
74 double ecart;
75 };
76 
77 
79 {
80 public:
81 MSTRUCT_POLY_ANALYSE_RESULTAT(char *nomparam);
83 
84 virtual int ident(bool verif=false);
85 virtual void execute(int nbessai);
86 virtual int lire(void);
87 virtual int get_nbechantillon(int nbessai);
88 virtual int get_nbechantillonratee(void);
89 virtual int get_nbcristauxechantillon(int nbessai);
90 virtual int get_degreechantillon(int nbessai);
91 
92 protected:
93 virtual void enregistrer(int nbessai,char *nom);
94 virtual void enregistrer_gnu(int nbessai,char *nom);
95 std::vector<MSTRUCT_POLY_RESULTAT> tab;
96 std::vector<std::vector<int> > listeessai;
97 std::vector<int> listeessairatee;
101 std::vector<OT_VECTEUR_3D> cumcdm;
102 std::vector<double> cumEDH;
103 std::vector<double> cumECH;
104 std::vector<double> cumiso;
105 
106 std::vector<OT_VECTEUR_3D> cdmphase,cdmephase;
107 std::vector<std::vector<OT_VECTEUR_3D> > cumcdmphase;
108 
115 
118 std::vector<nombre_statistique> masseph;
119 std::vector<nombre_statistique> volumeph;
121 };
122 
123 
124 #endif
std::vector< nombre_statistique > volumeph
virtual void enregistrer(int nbessai, char *nom)
std::vector< OT_VECTEUR_3D > cdmphase
virtual void enregistrer_gnu(int nbessai, char *nom)
std::vector< std::vector< OT_VECTEUR_3D > > cumcdmphase
std::vector< nombre_statistique > masseph
std::vector< std::vector< int > > listeessai
virtual int get_nbcristauxechantillon(int nbessai)
std::vector< OT_VECTEUR_3D > cdmephase
std::vector< MSTRUCT_POLY_RESULTAT > tab
std::vector< OT_VECTEUR_3D > cdmphase
std::vector< double > volumephase
std::vector< double > massephase
void reinit(int n, int m)
Definition: ot_tenseur.cpp:141