MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
mailleur2d_structure.h
Aller à la documentation de ce fichier.
1 //####//------------------------------------------------------------
2 //####//------------------------------------------------------------
3 //####// MAGiC
4 //####// Jean Christophe Cuilliere et Vincent FRANCOIS
5 //####// Departement de Genie Mecanique - UQTR
6 //####//------------------------------------------------------------
7 //####// MAGIC est un projet de recherche de l equipe ERICCA
8 //####// du departement de genie mecanique de l Universite du Quebec a Trois Rivieres
9 //####// http://www.uqtr.ca/ericca
10 //####// http://www.uqtr.ca/
11 //####//------------------------------------------------------------
12 //####//------------------------------------------------------------
13 //####//
14 //####// mailleur2d_structure.h
15 //####//
16 //####//------------------------------------------------------------
17 //####//------------------------------------------------------------
18 //####// COPYRIGHT 2000-2024
19 //####// jeu 13 jun 2024 11:58:55 EDT
20 //####//------------------------------------------------------------
21 //####//------------------------------------------------------------
22 #ifndef __MAILLEUR2D_STRUCTURE_
23 #define __MAILLEUR2D_STRUCTURE_
24 #include "mailleur.h"
25 
26 
34 class MG_GESTIONNAIRE;
36 {
37 public:
38 MAILLEUR2D_STRUCTURE( double xmintmp, double xmaxtmp, double ymintmp, double ymaxtmp, int ntmp, int mtmp, MG_GESTIONNAIRE* gesttmp,int avecgeo=false,double unit=1.);
39 MAILLEUR2D_STRUCTURE( double xmintmp, double xmaxtmp, double ymintmp, double ymaxtmp,double (*fx)(double),double (*fy)(double),MG_GESTIONNAIRE* gesttmp,int avecgeo=false,double unit=1.);
41 virtual ~MAILLEUR2D_STRUCTURE();
42 virtual int maille(class MG_GROUPE_TOPOLOGIQUE* mggt=NULL) ;
43 virtual void ajuste(class MG_MAILLAGE *mai,MG_MAILLAGE* maibase,int nb) ;
44 virtual void ajouter_fonction_geometrie(int nb);
45 
46 private:
47 virtual void discretise(std::vector<double> &tab,double min,double max,int &nb,double (*en)(double));
48 double xmin;
49 double xmax;
50 double ymin;
51 double ymax;
52 int n;
53 int m;
57 double (*enx)(double);
58 double (*eny)(double);
59 double unite;
61 };
62 #endif
MAILLEUR2D_STRUCTURE::unite
double unite
Definition: mailleur2d_structure.h:59
MAILLEUR2D_STRUCTURE::~MAILLEUR2D_STRUCTURE
virtual ~MAILLEUR2D_STRUCTURE()
Definition: mailleur2d_structure.cpp:57
MAILLEUR2D_STRUCTURE::m
int m
Definition: mailleur2d_structure.h:53
MAILLEUR2D_STRUCTURE::ymax
double ymax
Definition: mailleur2d_structure.h:51
MAILLEUR2D_STRUCTURE::eny
double(* eny)(double)
Definition: mailleur2d_structure.h:58
MG_GESTIONNAIRE
Definition: mg_gestionnaire.h:57
MAILLEUR2D_STRUCTURE::discretise
virtual void discretise(std::vector< double > &tab, double min, double max, int &nb, double(*en)(double))
Definition: mailleur2d_structure.cpp:62
MAILLEUR2D_STRUCTURE::geovirtuel
bool geovirtuel
Definition: mailleur2d_structure.h:55
MAILLEUR2D_STRUCTURE::maille
virtual int maille(class MG_GROUPE_TOPOLOGIQUE *mggt=NULL)
Definition: mailleur2d_structure.cpp:118
MAILLEUR2D_STRUCTURE::xmax
double xmax
Definition: mailleur2d_structure.h:49
mailleur.h
MAILLEUR2D_STRUCTURE::nbfonction
int nbfonction
Definition: mailleur2d_structure.h:60
MAILLEUR2D_STRUCTURE::ajuste
virtual void ajuste(class MG_MAILLAGE *mai, MG_MAILLAGE *maibase, int nb)
Definition: mailleur2d_structure.cpp:260
MAILLEUR2D_STRUCTURE
Definition: mailleur2d_structure.h:35
MAILLEUR2D_STRUCTURE::gest
MG_GESTIONNAIRE * gest
Definition: mailleur2d_structure.h:54
MG_GROUPE_TOPOLOGIQUE
Definition: mg_groupe_topologique.h:31
MAILLEUR2D_STRUCTURE::MAILLEUR2D_STRUCTURE
MAILLEUR2D_STRUCTURE(double xmintmp, double xmaxtmp, double ymintmp, double ymaxtmp, int ntmp, int mtmp, MG_GESTIONNAIRE *gesttmp, int avecgeo=false, double unit=1.)
Definition: mailleur2d_structure.cpp:45
MAILLEUR2D_STRUCTURE::xmin
double xmin
Definition: mailleur2d_structure.h:48
MAILLEUR2D_STRUCTURE::n
int n
Definition: mailleur2d_structure.h:52
MAILLEUR
Definition: mailleur.h:33
MG_MAILLAGE
Definition: mg_maillage.h:62
MAILLEUR2D_STRUCTURE::densitevariable
bool densitevariable
Definition: mailleur2d_structure.h:56
MAILLEUR2D_STRUCTURE::ajouter_fonction_geometrie
virtual void ajouter_fonction_geometrie(int nb)
Definition: mailleur2d_structure.cpp:113
MAILLEUR2D_STRUCTURE::ymin
double ymin
Definition: mailleur2d_structure.h:50
MAILLEUR2D_STRUCTURE::enx
double(* enx)(double)
Definition: mailleur2d_structure.h:57