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 |
|
|
static void ini_param_materiau(OT_PARAMETRES *params,char* nom_groupe_forme); |
12 |
|
|
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 |
968 |
static void ini_param_post_traitement(OT_PARAMETRES *params,int type_post_traitement,int nb_couche=0,double epaisseur_couche=0.02); |
17 |
|
|
static int generer_fichier_parametres(int type_etude,int type_generateur,int type_inclusion,bool fem_maill_lin,bool fem_maill_quad,int nb_couche=20,double epaisseur_couche=0.02,fonction_affiche *fonc_affiche=NULL); |
18 |
couturad |
964 |
static int generer_script_ves(int type_etude,int type_inclusion,bool fem_maill_lin,bool fem_maill_quad,fonction_affiche *fonc_affiche=NULL); |
19 |
couturad |
968 |
static int generer_script_post_traitement(int type_etude,int type_inclusion,bool fem_maill_lin,bool fem_maill_quad,double epaisseur_couche=0.02,fonction_affiche *fonc_affiche=NULL); |
20 |
couturad |
951 |
|
21 |
|
|
static int importer_fichier_parametres(char* fichier,OT_PARAMETRES* params); |
22 |
|
|
static int importer_fichier_liste_parametres(char* fichier,std::vector<OT_PARAMETRES*> &vector_params); |
23 |
couturad |
919 |
|
24 |
couturad |
951 |
protected: |
25 |
|
|
}; |
26 |
|
|
|
27 |
couturad |
968 |
#endif |