ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/xfem_triangle3.h
Revision: 410
Committed: Fri Jul 5 21:03:49 2013 UTC (11 years, 10 months ago) by francois
Content type: text/plain
File size: 2534 byte(s)
Log Message:
ajout de XFEM_TRIANGLE3
Ajout de flags dans FEM_ELEMENT_MAILLAGE
Correction de bug dans FEM_MAILLAGE_OUTILS

File Contents

# User Rev Content
1 francois 410 //------------------------------------------------------------
2     //------------------------------------------------------------
3     // MAGiC
4     // Jean Christophe Cuilli�re et Vincent FRANCOIS
5     // D�partement de G�nie M�canique - UQTR
6     //------------------------------------------------------------
7     // Le projet MAGIC est un projet de recherche du d�partement
8     // de g�nie m�canique de l'Universit� du Qu�bec �
9     // Trois Rivi�res
10     // Les librairies ne peuvent �tre utilis�es sans l'accord
11     // des auteurs (contact : francois@uqtr.ca)
12     //------------------------------------------------------------
13     //------------------------------------------------------------
14     //
15     // mg_tetra4.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 � 11H22
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifndef _XFEMTRIANGLE3_
24     #define _XFEMTRIANGLE3_
25    
26     #ifdef WINDOWS_VERSION
27     #ifdef BUILT_DLL_GEOMETRIE
28     #define DLLPORTGEOMETRIE __declspec(dllexport)
29     #else
30     #define DLLPORTGEOMETRIE __declspec(dllimport)
31     #endif
32     #else
33     #define DLLPORTGEOMETRIE
34     #endif
35    
36    
37     #include "fem_template_element.h"
38     #include "xfem_element2.h"
39    
40     const unsigned int IDXFEM_TRIANGLE3=1253;
41    
42    
43     class DLLPORTGEOMETRIE XFEM_TRIANGLE3 : public XFEM_ELEMENT2,FEM_TEMPLATE_ELEMENT<3>
44     {
45     public:
46     XFEM_TRIANGLE3(unsigned long num,class FEM_ELEMENT_MAILLAGE *mai,class MG_ELEMENT_TOPOLOGIQUE *mgtopo,class FEM_NOEUD** tabnoeud);
47     XFEM_TRIANGLE3(class FEM_ELEMENT_MAILLAGE *mai,class MG_ELEMENT_TOPOLOGIQUE *mgtopo,FEM_NOEUD** tabnoeud);
48     XFEM_TRIANGLE3(XFEM_TRIANGLE3& mdd);
49     virtual ~XFEM_TRIANGLE3();
50     virtual int get_type_entite(void);
51     virtual int get_nb_fem_noeud(void);
52     virtual FEM_NOEUD* get_fem_noeud(int num);
53     virtual void change_noeud(int num,FEM_NOEUD* noeud);
54     virtual int get_dimension(void);
55     virtual void enregistrer(std::ostream& o);
56     virtual BOITE_3D& get_boite_3D(void);
57    
58    
59    
60     virtual int nb_fonction_interpolation(void);
61     virtual double get_fonction_interpolation(int num,double *uv);
62     virtual double get_fonction_derive_interpolation(int num,int numvariable,double *uv);
63     virtual double get_jacobien(double* jac,double *uv,int& li,int& col,double unite=1.);
64     virtual void get_inverse_jacob(double* jac,double *uv,double unite=1.);
65    
66    
67    
68     protected:
69    
70    
71    
72     };
73    
74    
75    
76    
77    
78    
79     #endif
80    
81    
82