1 |
francois |
1158 |
//####//------------------------------------------------------------ |
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 |
|
|
//####// ve_definition.h |
15 |
|
|
//####// |
16 |
|
|
//####//------------------------------------------------------------ |
17 |
|
|
//####//------------------------------------------------------------ |
18 |
|
|
//####// COPYRIGHT 2000-2024 |
19 |
|
|
//####// jeu 13 jun 2024 11:58:56 EDT |
20 |
|
|
//####//------------------------------------------------------------ |
21 |
|
|
//####//------------------------------------------------------------ |
22 |
couturad |
772 |
#ifndef _VE_DEFINITION_ |
23 |
|
|
#define _VE_DEFINITION_ |
24 |
|
|
|
25 |
|
|
#include "ot_parametres.h" |
26 |
|
|
|
27 |
|
|
enum VE_TYPE_VER{HOMOGENE, |
28 |
|
|
UNE_INCLUSION, |
29 |
|
|
ALEATOIRE}; |
30 |
|
|
|
31 |
|
|
enum VE_TYPE_INCLUSION{BOITE, |
32 |
|
|
SPHERE, |
33 |
|
|
CYLINDRE}; |
34 |
|
|
|
35 |
|
|
enum VE_TYPE_MAIL_ELEMENT{TETRA, |
36 |
|
|
HEXA}; |
37 |
|
|
|
38 |
|
|
enum VE_TYPE_CARTE{CONSTANTE, |
39 |
|
|
COURBURE}; |
40 |
|
|
|
41 |
|
|
enum VE_TYPE_CL{DEFORMATION_HOMOGENE, |
42 |
|
|
CONTRAINTE_HOMOGENE, |
43 |
|
|
GRADIENT_TEMPERATURE_HOMOGENE, |
44 |
|
|
FLUX_CHALEUR_HOMOGENE}; |
45 |
|
|
|
46 |
|
|
enum VE_TYPE_CHARGEMENT{SPHERIQUE, |
47 |
|
|
DEVIATORIQUE}; |
48 |
|
|
|
49 |
|
|
enum VE_PARAM{VE_IO_nom_fichier_MAGiC, |
50 |
|
|
VE_IO_Bool_export_STEP, |
51 |
|
|
VE_IO_nom_fichier_STEP_BREP, |
52 |
|
|
VE_IO_Bool_fusion, |
53 |
|
|
VE_IO_Bool_import_STL, |
54 |
|
|
VE_IO_STL_eps, |
55 |
|
|
VE_IO_nom_fichier_CARTE, |
56 |
|
|
VE_IO_nom_fichier_ETUDE, |
57 |
|
|
VE_IO_nom_fichier_param_ASTER, |
58 |
|
|
VE_IO_code_resu, |
59 |
|
|
VE_Dim_precision, |
60 |
|
|
VE_VER_Type, |
61 |
|
|
VE_VER_Dim_longueur_x, |
62 |
|
|
VE_VER_Dim_longueur_y, |
63 |
|
|
VE_VER_Dim_longueur_z, |
64 |
|
|
VE_INCLU_Type_INCLUSION, |
65 |
|
|
VE_INCLU_Dim_pourcentage_volumique, |
66 |
|
|
VE_INCLU_Dim_nb_max, |
67 |
|
|
VE_INCLU_Dim_mu_rayon, |
68 |
|
|
VE_INCLU_Dim_sigma_rayon, |
69 |
|
|
VE_INCLU_Dim_mu_longueur_cylindre, |
70 |
|
|
VE_INCLU_Dim_sigma_longueur_cylindre, |
71 |
|
|
VE_INCLU_Dim_mu_longitude_cylindre, |
72 |
|
|
VE_INCLU_Dim_sigma_longitude_cylindre, |
73 |
|
|
VE_INCLU_Dim_mu_latitude_cylindre, |
74 |
|
|
VE_INCLU_Dim_sigma_latitude_cylindre, |
75 |
|
|
VE_INCLU_Dim_mu_longueur_x, |
76 |
|
|
VE_INCLU_Dim_sigma_longueur_x, |
77 |
|
|
VE_INCLU_Dim_mu_longueur_y, |
78 |
|
|
VE_INCLU_Dim_sigma_longueur_y, |
79 |
|
|
VE_INCLU_Dim_mu_longueur_z, |
80 |
|
|
VE_INCLU_Dim_sigma_longueur_z, |
81 |
|
|
VE_INCLU_Dim_mu_nu, |
82 |
|
|
VE_INCLU_Dim_sigma_nu, |
83 |
|
|
VE_INCLU_Dim_mu_Em, |
84 |
|
|
VE_INCLU_Dim_sigma_Em, |
85 |
|
|
VE_MATRICE_Dim_mu_nu, |
86 |
|
|
VE_MATRICE_Dim_sigma_nu, |
87 |
|
|
VE_MATRICE_Dim_mu_Em, |
88 |
|
|
VE_MATRICE_Dim_sigma_Em, |
89 |
|
|
VE_MAIL_Bool_Mailler, |
90 |
|
|
VE_MAIL_Type_ELEMENT, |
91 |
|
|
VE_MAIL_Dim_degre_maillage, |
92 |
|
|
VE_CARTE_Dim_ecart_nodal, |
93 |
|
|
VE_CARTE_Type, |
94 |
|
|
VE_CARTE_Dim_fechantillonnage, |
95 |
|
|
VE_CARTE_Dim_festimation, |
96 |
|
|
VE_VER_CL_Type, |
97 |
|
|
VE_VER_CL_CHARGEMENT_type, |
98 |
|
|
VE_VER_CL_Dim_valeur, |
99 |
|
|
SIZE_OF_VE_PARAM}; |
100 |
|
|
|
101 |
|
|
static const char *VE_PARAM_CHAR[] = {"VE_IO_nom_fichier_MAGiC", |
102 |
|
|
"VE_IO_Bool_export_STEP", |
103 |
|
|
"VE_IO_nom_fichier_STEP_BREP", |
104 |
|
|
"VE_IO_Bool_fusion", |
105 |
|
|
"VE_IO_Bool_import_STL", |
106 |
|
|
"VE_IO_STL_eps", |
107 |
|
|
"VE_IO_nom_fichier_CARTE", |
108 |
|
|
"VE_IO_nom_fichier_ETUDE", |
109 |
|
|
"VE_IO_nom_fichier_param_ASTER", |
110 |
|
|
"VE_IO_code_resu", |
111 |
|
|
"VE_Dim_precision", |
112 |
|
|
"VE_VER_Type", |
113 |
|
|
"VE_VER_Dim_longueur_x", |
114 |
|
|
"VE_VER_Dim_longueur_y", |
115 |
|
|
"VE_VER_Dim_longueur_z", |
116 |
|
|
"VE_INCLU_Type_INCLUSION", |
117 |
|
|
"VE_INCLU_Dim_pourcentage_volumique", |
118 |
|
|
"VE_INCLU_Dim_nb_max", |
119 |
|
|
"VE_INCLU_Dim_mu_rayon", |
120 |
|
|
"VE_INCLU_Dim_sigma_rayon", |
121 |
|
|
"VE_INCLU_Dim_mu_longueur_cylindre", |
122 |
|
|
"VE_INCLU_Dim_sigma_longueur_cylindre", |
123 |
|
|
"VE_INCLU_Dim_mu_longitude_cylindre", |
124 |
|
|
"VE_INCLU_Dim_sigma_longitude_cylindre", |
125 |
|
|
"VE_INCLU_Dim_mu_latitude_cylindre", |
126 |
|
|
"VE_INCLU_Dim_sigma_latitude_cylindre", |
127 |
|
|
"VE_INCLU_Dim_mu_longueur_x", |
128 |
|
|
"VE_INCLU_Dim_sigma_longueur_x", |
129 |
|
|
"VE_INCLU_Dim_mu_longueur_y", |
130 |
|
|
"VE_INCLU_Dim_sigma_longueur_y", |
131 |
|
|
"VE_INCLU_Dim_mu_longueur_z", |
132 |
|
|
"VE_INCLU_Dim_sigma_longueur_z", |
133 |
|
|
"VE_INCLU_Dim_mu_nu", |
134 |
|
|
"VE_INCLU_Dim_sigma_nu", |
135 |
|
|
"VE_INCLU_Dim_mu_Em", |
136 |
|
|
"VE_INCLU_Dim_sigma_Em", |
137 |
|
|
"VE_MATRICE_Dim_mu_nu", |
138 |
|
|
"VE_MATRICE_Dim_sigma_nu", |
139 |
|
|
"VE_MATRICE_Dim_mu_Em", |
140 |
|
|
"VE_MATRICE_Dim_sigma_Em", |
141 |
|
|
"VE_MAIL_Bool_Mailler", |
142 |
|
|
"VE_MAIL_Type_ELEMENT", |
143 |
|
|
"VE_MAIL_Dim_degre_maillage", |
144 |
|
|
"VE_CARTE_Dim_ecart_nodal", |
145 |
|
|
"VE_CARTE_Type", |
146 |
|
|
"VE_CARTE_Dim_fechantillonnage", |
147 |
|
|
"VE_CARTE_Dim_festimation", |
148 |
|
|
"VE_VER_CL_Type", |
149 |
|
|
"VE_VER_CL_CHARGEMENT_type", |
150 |
|
|
"VE_VER_CL_Dim_valeur"}; |
151 |
|
|
|
152 |
|
|
static_assert(sizeof(VE_PARAM_CHAR)/sizeof(char*)== VE_PARAM::SIZE_OF_VE_PARAM,"Erreur dans la definition de VE_PARAM"); |
153 |
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
|
|
|
157 |
|
|
void ini_param_VER(OT_PARAMETRES *param); |
158 |
|
|
|
159 |
|
|
|
160 |
francois |
1158 |
#endif |