ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/optimisation/src/mgopt_simp.h
Revision: 512
Committed: Thu May 29 20:58:00 2014 UTC (10 years, 11 months ago) by francois
Content type: text/plain
File size: 831 byte(s)
Log Message:
SIMP adaptative avec raffinement par une fonction

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 francois 494 MGOPT_SIMP(bool save);
21 francois 239 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 francois 512 void optimisation(class FEM_MAILLAGE* fem,int iter=0);
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