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_ves.h |
15 |
|
|
//####// |
16 |
|
|
//####//------------------------------------------------------------ |
17 |
|
|
//####//------------------------------------------------------------ |
18 |
|
|
//####// COPYRIGHT 2000-2024 |
19 |
|
|
//####// jeu 13 jun 2024 11:58:57 EDT |
20 |
|
|
//####//------------------------------------------------------------ |
21 |
|
|
//####//------------------------------------------------------------ |
22 |
couturad |
772 |
#ifndef _VE_VES_ |
23 |
|
|
#define _VE_VES_ |
24 |
francois |
756 |
|
25 |
couturad |
801 |
#include "ot_parametres.h" |
26 |
|
|
#include "ve_definition.h" |
27 |
|
|
#include "tpl_map_entite.h" |
28 |
|
|
|
29 |
|
|
class MG_GESTIONNAIRE; |
30 |
|
|
class MG_ARBRE; |
31 |
|
|
class MG_ASSEMBLAGE; |
32 |
|
|
class VE_GEN_VER; |
33 |
|
|
class VE_INCLUSION; |
34 |
|
|
class FCT_TAILLE; |
35 |
|
|
class MG_FACE; |
36 |
|
|
|
37 |
|
|
typedef void fonction_affiche(char *); |
38 |
|
|
|
39 |
couturad |
772 |
class VE_VES |
40 |
couturad |
801 |
{ |
41 |
|
|
public : |
42 |
|
|
VE_VES(); |
43 |
couturad |
772 |
VE_VES(VE_VES &mdd); |
44 |
couturad |
801 |
~VE_VES(); |
45 |
francois |
756 |
|
46 |
couturad |
801 |
int construire(void); |
47 |
francois |
756 |
|
48 |
couturad |
801 |
MG_GESTIONNAIRE *get_gestionnaire(void); |
49 |
|
|
MG_ARBRE *get_arbre(void); |
50 |
|
|
MG_ASSEMBLAGE *get_assemblage(void); |
51 |
|
|
|
52 |
|
|
void active_affichage(fonction_affiche *fonc); |
53 |
|
|
void affiche(char *message); |
54 |
|
|
void lire_param_VES(char* fichier); |
55 |
|
|
void ecrire_param_VES(char *fichier); |
56 |
|
|
|
57 |
|
|
protected: |
58 |
francois |
756 |
|
59 |
couturad |
801 |
int generer_VES_homogene(void); |
60 |
|
|
int generer_VES_une_inclusion(void); |
61 |
|
|
int generer_VES_aleatoire(void); |
62 |
francois |
756 |
|
63 |
couturad |
801 |
int evaluer_geometrie(void); |
64 |
|
|
int creer_mg_maillage(void); |
65 |
|
|
int creer_fem_maillage(void); |
66 |
|
|
int appliquer_conditions_limites(int type_chargement); |
67 |
|
|
int appliquer_conditions_limites_plan(TPL_MAP_ENTITE<MG_FACE*> *plan, char *condition, double valeur,bool topo_sous_jacente); |
68 |
|
|
int appliquer_conditions_limites_plan(TPL_MAP_ENTITE<MG_FACE*> *plan, char *condition, std::string formule,std::vector<std::string> &listvariable,bool topo_sous_jacente); |
69 |
|
|
|
70 |
|
|
int appliquer_materiaux(void); |
71 |
|
|
int calcul_aster(void); |
72 |
|
|
int homogeneisation(void); |
73 |
francois |
756 |
|
74 |
couturad |
801 |
int creer_carte(void); |
75 |
|
|
fonction_affiche *fonc_affiche; |
76 |
|
|
int affichageactif; |
77 |
|
|
|
78 |
|
|
MG_GESTIONNAIRE *gest; |
79 |
|
|
MG_ARBRE *arbre; |
80 |
|
|
MG_ASSEMBLAGE *assemblage; |
81 |
|
|
OT_PARAMETRES *param_ver; |
82 |
|
|
VE_GEN_VER *generateur_ver; |
83 |
|
|
FCT_TAILLE *metrique; |
84 |
|
|
double dim_VES[3]; |
85 |
francois |
756 |
}; |
86 |
|
|
|
87 |
|
|
#endif |