ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/optimisation/src/mgopt.h
Revision: 239
Committed: Sat Mar 13 00:19:11 2010 UTC (15 years, 2 months ago) by francois
Content type: text/plain
Original Path: magic/lib/optimisation/optimisation/src/mgopt.h
File size: 1014 byte(s)
Log Message:
Optimisation de topologie integre generique. Version SIMP implemente.
optimisation de code apparu.

File Contents

# User Rev Content
1 francois 239 #ifndef mgoptH
2     #define mgoptH
3    
4     #ifdef WINDOWS_VERSION
5     #ifdef BUILT_DLL_OPTIMISATION
6     #define DLLPORTOPTIMISATION __declspec(dllexport)
7     #else
8     #define DLLPORTOPTIMISATION __declspec(dllimport)
9     #endif
10     #else
11     #define DLLPORTOPTIMISATION
12     #endif
13    
14     #include "mgopt_parametre.h"
15     #include "fct_generateur_3D.h"
16    
17     class DLLPORTOPTIMISATION MGOPT
18     {
19     public:
20     MGOPT();
21     MGOPT(MGOPT &mdd);
22     virtual ~MGOPT();
23    
24     virtual void active_affichage(void (*fonc)(char*));
25     virtual void optimise(char *nomgestd,char *nomgestnd,char *nomsortie,char *nomparam=NULL);
26     virtual void optimise(char *fichier);
27    
28    
29     protected:
30     virtual class FEM_MAILLAGE* prepare_model(class MG_GESTIONNAIRE *gestd,MG_GESTIONNAIRE *gestnd);
31     virtual void lire_params(char *fichier);
32     virtual void optimisation(class FEM_MAILLAGE* fem)=0;
33    
34    
35     void (*affiche)(char *mess);
36     int affichageactif;
37     MGOPT_PARAMETRE params;
38     char nometude[500];
39     class MG_FILE* gestd;
40     class MG_FILE* gestnd;
41     class FCT_GENERATEUR_3D<4> *carte;
42     };
43    
44    
45    
46    
47    
48    
49    
50     #endif