ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/optimisation/src/mgopt_simp.h
Revision: 468
Committed: Wed Nov 27 03:09:54 2013 UTC (11 years, 5 months ago) by francois
Content type: text/plain
File size: 811 byte(s)
Log Message:
adaptation de l optimisation de topologie a la nouvelle version de carte

File Contents

# User Rev Content
1 francois 239 #ifndef mgopt_simpH
2     #define mgopt_simpH
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.h"
15 francois 468 #include <vector>
16 francois 239
17     class DLLPORTOPTIMISATION MGOPT_SIMP:public MGOPT
18     {
19     public:
20     MGOPT_SIMP();
21     MGOPT_SIMP(MGOPT_SIMP &mdd);
22     ~MGOPT_SIMP();
23    
24 francois 240 virtual void adapte_resultat(char *nomgestd,char *nomparam=NULL);
25 francois 239
26    
27    
28     protected:
29     void optimisation(class FEM_MAILLAGE* fem);
30 francois 468 void recupere_energie(std::vector<class SIMP_TETRA*> lsttet);
31     void ajouter_voisin(int i,SIMP_TETRA* tet,std::vector<SIMP_TETRA*> &lst);
32 francois 247 double poid_lissage(double dist,double distref,double k,double volume,int type);
33 francois 239 };
34    
35    
36    
37    
38    
39    
40     #endif