MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
mstruct_ves_file.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_ves_file.h
15 //####//
16 //####//------------------------------------------------------------
17 //####//------------------------------------------------------------
18 //####// COPYRIGHT 2000-2024
19 //####// jeu 13 jun 2024 11:58:56 EDT
20 //####//------------------------------------------------------------
21 //####//------------------------------------------------------------
22 #ifndef _MSTRUCT_FILE_
23 #define _MSTRUCT_FILE_
24 #include "mstruct_analyse.h"
25 #include "ot_boite_3d.h"
26 #include <map>
28 {
29 public:
30  MSTRUCT_VES_FILE(void);
31  ~MSTRUCT_VES_FILE(void);
32  char* get_nom_fichier_magic(void);
33  void change_nom_fichier_magic(char* nom_fichier_magic);
34 
35  long get_id_mgcg_modele(void);
36  void change_id_mgcg_modele(long id);
37  long get_id_mgcg_assemblage(void);
38  void change_id_mgcg_assemblage(long id);
39  long get_id_mg_geometrie(void);
40  void change_id_mg_geometrie(long id);
41  char* get_nom_fichier_carte(void);
42  void change_nom_fichier_carte(char* nom_fichier_carte);
43  long get_id_mg_maillage(void);
44  void change_id_mg_maillage(long id);
45  long get_id_fem_maillage(void);
46  void change_id_fem_maillage(long id);
47 
49  void change_boite_3D_ves(BOITE_3D boite3D);
50 
51  double get_precision(void);
52  void change_precision(double precision);
53 
54  double get_temps_geometrie(void);
55  void change_temps_geometrie(double temps);
56  double get_temps_materiau(void);
57  void change_temps_materiau(double temps);
58  double get_temps_carte(void);
59  void change_temps_carte(double temps);
60  double get_temps_maillage(void);
61  void change_temps_maillage(double temps);
62  double get_temps_fem_maillage(void);
63  void change_temps_fem_maillage(double temps);
64  double get_temps_etude(void);
65  void change_temps_etude(double temps);
66  double get_temps_calcul(void);
67  void change_temps_calcul(double temps);
68  double get_temps_analyse(void);
69  void change_temps_analyse(double temps);
70 
71  long get_nb_analyse(void);
72  int ajouter_analyse(MSTRUCT_ANALYSE* analyse_ves);
73  MSTRUCT_ANALYSE *get_analyse(std::string identifiant);
74  MSTRUCT_ANALYSE *get_premiere_analyse(std::map<std::string,MSTRUCT_ANALYSE*>::iterator &it);
75  MSTRUCT_ANALYSE *get_suivante_analyse(std::map<std::string,MSTRUCT_ANALYSE*>::iterator &it);
76  int supprimer_analyse(std::string identifiant);
77  int supprimer_tout_analyse(void);
78 
79  int enregistrer(char* nom_fichier_ves);
80  int ouvrir(char* nom_fichier_ves);
82 protected:
91  double m_precision;
94  double m_temps_carte;
97  double m_temps_etude;
100  std::map<std::string,MSTRUCT_ANALYSE*> m_map_analyse_ves;
101 };
102 
103 #endif
MSTRUCT_VES_FILE::m_id_mg_geometrie
long m_id_mg_geometrie
Definition: mstruct_ves_file.h:86
MSTRUCT_VES_FILE::change_temps_etude
void change_temps_etude(double temps)
Definition: mstruct_ves_file.cpp:217
MSTRUCT_VES_FILE::get_premiere_analyse
MSTRUCT_ANALYSE * get_premiere_analyse(std::map< std::string, MSTRUCT_ANALYSE * >::iterator &it)
Definition: mstruct_ves_file.cpp:255
MSTRUCT_VES_FILE::get_temps_calcul
double get_temps_calcul(void)
Definition: mstruct_ves_file.cpp:222
MSTRUCT_VES_FILE
Definition: mstruct_ves_file.h:27
MSTRUCT_VES_FILE::change_temps_fem_maillage
void change_temps_fem_maillage(double temps)
Definition: mstruct_ves_file.cpp:207
MSTRUCT_VES_FILE::change_id_mg_maillage
void change_id_mg_maillage(long id)
Definition: mstruct_ves_file.cpp:127
MSTRUCT_VES_FILE::change_id_mgcg_assemblage
void change_id_mgcg_assemblage(long id)
Definition: mstruct_ves_file.cpp:95
MSTRUCT_VES_FILE::m_temps_maillage
double m_temps_maillage
Definition: mstruct_ves_file.h:95
MSTRUCT_VES_FILE::m_id_mg_maillage
long m_id_mg_maillage
Definition: mstruct_ves_file.h:88
MSTRUCT_VES_FILE::supprimer_tout_analyse
int supprimer_tout_analyse(void)
Definition: mstruct_ves_file.cpp:293
MSTRUCT_VES_FILE::m_temps_fem_maillage
double m_temps_fem_maillage
Definition: mstruct_ves_file.h:96
MSTRUCT_VES_FILE::m_map_analyse_ves
std::map< std::string, MSTRUCT_ANALYSE * > m_map_analyse_ves
Definition: mstruct_ves_file.h:100
MSTRUCT_VES_FILE::get_temps_fem_maillage
double get_temps_fem_maillage(void)
Definition: mstruct_ves_file.cpp:202
MSTRUCT_VES_FILE::m_id_mgcg_modele
long m_id_mgcg_modele
Definition: mstruct_ves_file.h:84
MSTRUCT_VES_FILE::get_id_mg_geometrie
long get_id_mg_geometrie(void)
Definition: mstruct_ves_file.cpp:100
MSTRUCT_VES_FILE::get_nom_fichier_magic
char * get_nom_fichier_magic(void)
Definition: mstruct_ves_file.cpp:68
MSTRUCT_VES_FILE::change_precision
void change_precision(double precision)
Definition: mstruct_ves_file.cpp:157
MSTRUCT_VES_FILE::get_id_fem_maillage
long get_id_fem_maillage(void)
Definition: mstruct_ves_file.cpp:132
MSTRUCT_VES_FILE::ajouter_analyse
int ajouter_analyse(MSTRUCT_ANALYSE *analyse_ves)
Definition: mstruct_ves_file.cpp:247
MSTRUCT_VES_FILE::get_temps_analyse
double get_temps_analyse(void)
Definition: mstruct_ves_file.cpp:232
MSTRUCT_VES_FILE::get_nb_analyse
long get_nb_analyse(void)
Definition: mstruct_ves_file.cpp:242
MSTRUCT_VES_FILE::change_boite_3D_ves
void change_boite_3D_ves(BOITE_3D boite3D)
Definition: mstruct_ves_file.cpp:147
MSTRUCT_VES_FILE::m_precision
double m_precision
Definition: mstruct_ves_file.h:91
MSTRUCT_VES_FILE::enregistrer
int enregistrer(char *nom_fichier_ves)
Definition: mstruct_ves_file.cpp:304
MSTRUCT_VES_FILE::m_temps_carte
double m_temps_carte
Definition: mstruct_ves_file.h:94
MSTRUCT_VES_FILE::get_temps_maillage
double get_temps_maillage(void)
Definition: mstruct_ves_file.cpp:192
MSTRUCT_VES_FILE::get_temps_geometrie
double get_temps_geometrie(void)
Definition: mstruct_ves_file.cpp:162
MSTRUCT_VES_FILE::change_nom_fichier_carte
void change_nom_fichier_carte(char *nom_fichier_carte)
Definition: mstruct_ves_file.cpp:115
MSTRUCT_ANALYSE
Definition: mstruct_analyse.h:30
MSTRUCT_VES_FILE::m_id_fem_maillage
long m_id_fem_maillage
Definition: mstruct_ves_file.h:89
MSTRUCT_VES_FILE::affiche_contenu
void affiche_contenu(fonction_affiche *fonc)
Definition: mstruct_ves_file.cpp:485
MSTRUCT_VES_FILE::change_id_mgcg_modele
void change_id_mgcg_modele(long id)
Definition: mstruct_ves_file.cpp:85
MSTRUCT_VES_FILE::m_temps_geometrie
double m_temps_geometrie
Definition: mstruct_ves_file.h:92
MSTRUCT_VES_FILE::change_temps_analyse
void change_temps_analyse(double temps)
Definition: mstruct_ves_file.cpp:237
MSTRUCT_VES_FILE::get_temps_materiau
double get_temps_materiau(void)
Definition: mstruct_ves_file.cpp:172
mstruct_analyse.h
MSTRUCT_VES_FILE::m_temps_etude
double m_temps_etude
Definition: mstruct_ves_file.h:97
MSTRUCT_VES_FILE::get_suivante_analyse
MSTRUCT_ANALYSE * get_suivante_analyse(std::map< std::string, MSTRUCT_ANALYSE * >::iterator &it)
Definition: mstruct_ves_file.cpp:263
MSTRUCT_VES_FILE::get_id_mgcg_modele
long get_id_mgcg_modele(void)
Definition: mstruct_ves_file.cpp:80
MSTRUCT_VES_FILE::get_temps_etude
double get_temps_etude(void)
Definition: mstruct_ves_file.cpp:212
MSTRUCT_VES_FILE::~MSTRUCT_VES_FILE
~MSTRUCT_VES_FILE(void)
Definition: mstruct_ves_file.cpp:61
BOITE_3D
Definition: ot_boite_3d.h:27
MSTRUCT_VES_FILE::change_temps_carte
void change_temps_carte(double temps)
Definition: mstruct_ves_file.cpp:187
MSTRUCT_VES_FILE::supprimer_analyse
int supprimer_analyse(std::string identifiant)
Definition: mstruct_ves_file.cpp:281
MSTRUCT_VES_FILE::get_id_mgcg_assemblage
long get_id_mgcg_assemblage(void)
Definition: mstruct_ves_file.cpp:90
ot_boite_3d.h
MSTRUCT_VES_FILE::ouvrir
int ouvrir(char *nom_fichier_ves)
Definition: mstruct_ves_file.cpp:368
MSTRUCT_VES_FILE::m_temps_materiau
double m_temps_materiau
Definition: mstruct_ves_file.h:93
MSTRUCT_VES_FILE::MSTRUCT_VES_FILE
MSTRUCT_VES_FILE(void)
Definition: mstruct_ves_file.cpp:40
MSTRUCT_VES_FILE::get_nom_fichier_carte
char * get_nom_fichier_carte(void)
Definition: mstruct_ves_file.cpp:110
MSTRUCT_VES_FILE::m_id_mgcg_assemblage
long m_id_mgcg_assemblage
Definition: mstruct_ves_file.h:85
MSTRUCT_VES_FILE::change_id_mg_geometrie
void change_id_mg_geometrie(long id)
Definition: mstruct_ves_file.cpp:105
MSTRUCT_VES_FILE::m_temps_analyse
double m_temps_analyse
Definition: mstruct_ves_file.h:99
fonction_affiche
void fonction_affiche(char *)
Definition: fct_taille.h:28
MSTRUCT_VES_FILE::m_temps_calcul
double m_temps_calcul
Definition: mstruct_ves_file.h:98
MSTRUCT_VES_FILE::change_temps_materiau
void change_temps_materiau(double temps)
Definition: mstruct_ves_file.cpp:177
MSTRUCT_VES_FILE::get_id_mg_maillage
long get_id_mg_maillage(void)
Definition: mstruct_ves_file.cpp:122
MSTRUCT_VES_FILE::change_temps_calcul
void change_temps_calcul(double temps)
Definition: mstruct_ves_file.cpp:227
MSTRUCT_VES_FILE::m_nom_fichier_carte
char * m_nom_fichier_carte
Definition: mstruct_ves_file.h:87
MSTRUCT_VES_FILE::m_nom_fichier_magic
char * m_nom_fichier_magic
Definition: mstruct_ves_file.h:83
MSTRUCT_VES_FILE::get_analyse
MSTRUCT_ANALYSE * get_analyse(std::string identifiant)
Definition: mstruct_ves_file.cpp:271
MSTRUCT_VES_FILE::m_boite3D_ves
BOITE_3D m_boite3D_ves
Definition: mstruct_ves_file.h:90
MSTRUCT_VES_FILE::change_nom_fichier_magic
void change_nom_fichier_magic(char *nom_fichier_magic)
Definition: mstruct_ves_file.cpp:73
MSTRUCT_VES_FILE::get_temps_carte
double get_temps_carte(void)
Definition: mstruct_ves_file.cpp:182
MSTRUCT_VES_FILE::change_temps_geometrie
void change_temps_geometrie(double temps)
Definition: mstruct_ves_file.cpp:167
MSTRUCT_VES_FILE::change_id_fem_maillage
void change_id_fem_maillage(long id)
Definition: mstruct_ves_file.cpp:137
MSTRUCT_VES_FILE::get_boite_3D_ves
BOITE_3D get_boite_3D_ves(void)
Definition: mstruct_ves_file.cpp:142
MSTRUCT_VES_FILE::change_temps_maillage
void change_temps_maillage(double temps)
Definition: mstruct_ves_file.cpp:197
MSTRUCT_VES_FILE::get_precision
double get_precision(void)
Definition: mstruct_ves_file.cpp:152