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 |