ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/mailleur/src/mailleur3d_structure.h
Revision: 585
Committed: Fri Oct 31 15:17:24 2014 UTC (10 years, 6 months ago) by francois
Content type: text/plain
File size: 1235 byte(s)
Log Message:
Mailleur structure a densite variable.

File Contents

# User Rev Content
1 chebbi 463 #ifndef __MAILLEUR3D_STRUCTURE_
2     #define __MAILLEUR3D_STRUCTURE_
3     #include "mailleur.h"
4    
5 francois 585
6     /*!
7     * Pour utliser le mailleur structuré avec la densité variable il faut fournir des fonctions écart nodale dans chaque direction parametrée entre [0 1].
8     */
9    
10    
11 chebbi 463 class MG_GESTIONNAIRE;
12     class MAILLEUR3D_STRUCTURE:public MAILLEUR
13     {
14     public:
15 francois 585 MAILLEUR3D_STRUCTURE( double xmintmp, double xmaxtmp, double ymintmp, double ymaxtmp, double zmintmp, double zmaxtmp,int ntmp, int mtmp, int ktmp,MG_GESTIONNAIRE* gesttmp,int avecgeo=false);
16     MAILLEUR3D_STRUCTURE( double xmintmp, double xmaxtmp, double ymintmp, double ymaxtmp, double zmintmp, double zmaxtmp,double (*fx)(double),double (*fy)(double),double (*fz)(double),MG_GESTIONNAIRE* gesttmp,int avecgeo=false);
17 chebbi 463 MAILLEUR3D_STRUCTURE( MAILLEUR3D_STRUCTURE &mdd);
18     virtual ~MAILLEUR3D_STRUCTURE();
19 francois 551 virtual void maille(class MG_GROUPE_TOPOLOGIQUE* mggt=NULL) ;
20 chebbi 463
21    
22     private:
23 francois 585 void discretise(std::vector<double> &tab,double min,double max,int &nb,double (*en)(double));
24 chebbi 463 double xmin;
25     double xmax;
26     double ymin;
27     double ymax;
28     double zmin;
29     double zmax;
30     int n;
31     int m;
32     int k;
33     MG_GESTIONNAIRE* gest;
34 francois 576 bool geovirtuel;
35 francois 585 bool densitevariable;
36     double (*enx)(double);
37     double (*eny)(double);
38     double (*enz)(double);
39 chebbi 463 };
40     #endif