1 |
couturad |
919 |
#ifndef _MSTRUCT_PARAMETRES_ |
2 |
|
|
#define _MSTRUCT_PARAMETRES_ |
3 |
|
|
#include "ot_parametres.h" |
4 |
|
|
#include <vector> |
5 |
couturad |
964 |
typedef void fonction_affiche(char *); |
6 |
couturad |
951 |
class PARAMETRES |
7 |
couturad |
919 |
{ |
8 |
couturad |
951 |
public: |
9 |
|
|
static void ini_param_generateur_rsa(OT_PARAMETRES *params,int type_inclusion); |
10 |
|
|
static void ini_param_generateur_dcr(OT_PARAMETRES *params,int type_inclusion); |
11 |
couturad |
971 |
static void ini_param_materiau(OT_PARAMETRES *params,char* nom_groupe_forme,bool etude_mecanique,bool etude_thermique); |
12 |
couturad |
951 |
static void ini_param_carte_taille(OT_PARAMETRES *params); |
13 |
|
|
static void ini_param_mailleur(OT_PARAMETRES *params); |
14 |
|
|
static void ini_param_mailleur_fem(OT_PARAMETRES *params); |
15 |
|
|
static void ini_param_etude(OT_PARAMETRES *params,int type_etude); |
16 |
couturad |
971 |
static void ini_param_post_traitement(OT_PARAMETRES *params, |
17 |
|
|
int type_post_traitement, |
18 |
|
|
int nb_couche_erosion=0, |
19 |
|
|
double epaisseur_couche_erosion=0.02); |
20 |
couturad |
951 |
|
21 |
couturad |
971 |
static int generer_fichier_parametres(bool etude_mecanique, |
22 |
|
|
bool etude_thermique, |
23 |
|
|
int type_generateur, |
24 |
|
|
int type_inclusion, |
25 |
|
|
bool fem_maill_lin, |
26 |
|
|
bool fem_maill_quad, |
27 |
|
|
int nb_couche_erosion=20, |
28 |
|
|
double epaisseur_couche_erosion=0.02, |
29 |
|
|
fonction_affiche *fonc_affiche=NULL); |
30 |
|
|
|
31 |
|
|
static int generer_script_ves(bool etude_mecanique, |
32 |
|
|
bool etude_thermique, |
33 |
|
|
int type_inclusion, |
34 |
|
|
bool fem_maill_lin, |
35 |
|
|
bool fem_maill_quad, |
36 |
|
|
fonction_affiche *fonc_affiche=NULL); |
37 |
|
|
|
38 |
|
|
static int generer_script_post_traitement(bool etude_mecanique, |
39 |
|
|
bool etude_thermique, |
40 |
|
|
int type_inclusion, |
41 |
|
|
bool fem_maill_lin, |
42 |
|
|
bool fem_maill_quad, |
43 |
|
|
double epaisseur_couche_erosion=0.02, |
44 |
|
|
fonction_affiche *fonc_affiche=NULL); |
45 |
|
|
|
46 |
couturad |
951 |
static int importer_fichier_parametres(char* fichier,OT_PARAMETRES* params); |
47 |
|
|
static int importer_fichier_liste_parametres(char* fichier,std::vector<OT_PARAMETRES*> &vector_params); |
48 |
couturad |
919 |
|
49 |
couturad |
951 |
protected: |
50 |
|
|
}; |
51 |
|
|
|
52 |
couturad |
968 |
#endif |