MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
mg_geodesic.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 //####// mg_geodesic.h
15 //####//
16 //####//------------------------------------------------------------
17 //####//------------------------------------------------------------
18 //####// COPYRIGHT 2000-2024
19 //####// jeu 13 jun 2024 11:58:56 EDT
20 //####//------------------------------------------------------------
21 //####//------------------------------------------------------------
22 #ifndef _MGGEODESIC_
23 #define _MGGEODESIC_
24 #include <vector>
25 #include <mg_definition.h>
26 #include "fem_maillage.h"
27 #include "tpl_octree.h"
28 #include "magic_affiche.h"
29 
30 class FEM_SOLUTION;
31 class FEM_MAILLAGE;
32 class FEM_NOEUD;
33 class FEM_ELEMENT3;
34 class FEM_ELEMENT2;
35 class MG_GESTIONNAIRE;
36 
37 
38 namespace MAGIC
39 {
40 
41 
42 class MG_GEODESIC : public MAGIC_AFFICHE
43 {
44 public:
45 MG_GEODESIC(char* fichiermagic,MG_GESTIONNAIRE *g,FEM_MAILLAGE* f,int nbpt=2);
47 virtual ~MG_GEODESIC();
48 
49 virtual bool init_noeud(char* entite);
50 virtual bool init_coord(char* entite);
51 virtual double calcul(double *tab=NULL);
52 void calcul_reseau(std::vector<double> lstpoint,double *matdist);
53 
54 
55 
56 private:
57 double calcul_fm(int num,double xdep,double ydep,double zdep,std::vector<double> &lstpoints);
58 void calcul_milieux(int num1,int num2,int num3, int num4,double &vala,double &valb);
60 FEM_SOLUTION *sol;//,*solgrad,*solgradgrad,*solgradnoeud,*courburemax;
61 std::vector<FEM_NOEUD*> lst;
62 std::vector<double> lstdouble;
65 
66 };
67 };
68 
69 
70 #endif
MAGIC::MG_GEODESIC::lst
std::vector< FEM_NOEUD * > lst
Definition: mg_geodesic.h:61
FEM_SOLUTION
Definition: fem_solution.h:40
MAGIC::MG_GEODESIC
Definition: mg_geodesic.h:42
MAGIC::MG_GEODESIC::fem
FEM_MAILLAGE * fem
Definition: mg_geodesic.h:59
MAGIC::MG_GEODESIC::calcul
virtual double calcul(double *tab=NULL)
Definition: mg_geodesic.cpp:225
MAGIC::MG_GEODESIC::init_noeud
virtual bool init_noeud(char *entite)
Definition: mg_geodesic.cpp:116
MAGIC::MG_GEODESIC::MG_GEODESIC
MG_GEODESIC(char *fichiermagic, MG_GESTIONNAIRE *g, FEM_MAILLAGE *f, int nbpt=2)
Definition: mg_geodesic.cpp:46
MAGIC::MG_GEODESIC::gest
MG_GESTIONNAIRE * gest
Definition: mg_geodesic.h:64
fem_maillage.h
FEM_ELEMENT3
Definition: fem_element3.h:34
MG_GESTIONNAIRE
Definition: mg_gestionnaire.h:57
FEM_ELEMENT2
Definition: fem_element2.h:34
MAGIC::MG_GEODESIC::init_coord
virtual bool init_coord(char *entite)
Definition: mg_geodesic.cpp:144
MAGIC
Definition: mg_fast_marching.cpp:40
f
double f(double x, long nb, double *xfonc, double *fonc, double eng, double eni, double lambda, double nor, double *fonc2)
Definition: fct_generateur_calibrage.cpp:96
FEM_MAILLAGE
Definition: fem_maillage.h:66
MAGIC_AFFICHE
Definition: magic_affiche.h:30
magic_affiche.h
tpl_octree.h
FEM_NOEUD
Definition: fem_noeud.h:35
MAGIC::MG_GEODESIC::calcul_reseau
void calcul_reseau(std::vector< double > lstpoint, double *matdist)
Definition: mg_geodesic.cpp:192
MAGIC::MG_GEODESIC::initdouble
bool initdouble
Definition: mg_geodesic.h:63
MAGIC::MG_GEODESIC::~MG_GEODESIC
virtual ~MG_GEODESIC()
Definition: mg_geodesic.cpp:109
MAGIC::MG_GEODESIC::calcul_milieux
void calcul_milieux(int num1, int num2, int num3, int num4, double &vala, double &valb)
Definition: mg_geodesic.cpp:262
mg_definition.h
MAGIC::MG_GEODESIC::sol
FEM_SOLUTION * sol
Definition: mg_geodesic.h:60
MAGIC::MG_GEODESIC::lstdouble
std::vector< double > lstdouble
Definition: mg_geodesic.h:62
MAGIC::MG_GEODESIC::calcul_fm
double calcul_fm(int num, double xdep, double ydep, double zdep, std::vector< double > &lstpoints)
Definition: mg_geodesic.cpp:162