ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/optimisation/src/mgopt_simp.h
Revision: 247
Committed: Wed May 5 21:02:39 2010 UTC (15 years ago) by francois
Content type: text/plain
Original Path: magic/lib/optimisation/optimisation/src/mgopt_simp.h
File size: 783 byte(s)
Log Message:
ajout du lissage densite (distance + gaussien) + changement de notation pour etre conforme avec l'article

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