ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/fem_segment2.h
Revision: 309
Committed: Tue Jan 24 15:25:16 2012 UTC (13 years, 3 months ago) by francois
Content type: text/plain
File size: 2102 byte(s)
Log Message:
Preparation du maillage FEM pour inclure de nouveaux élements non necessairement triangle/tetra

File Contents

# User Rev Content
1 francois 283 //------------------------------------------------------------
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_segment2.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 � 11H22
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifndef _FEMSEGMENT2_
24     #define _FEMSEGMENT2_
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 francois 309 #include "fem_element1.h"
39 francois 283
40     const unsigned int IDFEM_SEGMENT2=1102;
41    
42    
43 francois 309 class DLLPORTGEOMETRIE FEM_SEGMENT2 : public FEM_ELEMENT1,FEM_TEMPLATE_ELEMENT<2>
44 francois 283 {
45     public:
46     FEM_SEGMENT2(unsigned long num,class MG_ELEMENT_MAILLAGE* mai,class FEM_NOEUD** tabnoeud);
47     FEM_SEGMENT2(class MG_ELEMENT_MAILLAGE* mai,FEM_NOEUD** tabnoeud);
48     FEM_SEGMENT2(FEM_SEGMENT2& mdd);
49     virtual ~FEM_SEGMENT2();
50     virtual int get_type_entite(void);
51    
52     virtual int get_nb_fem_noeud(void);
53     virtual FEM_NOEUD* get_fem_noeud(int num);
54     virtual void change_noeud(int num,FEM_NOEUD* noeud);
55    
56     virtual BOITE_3D& get_boite_3D(void);
57     FEM_ELEMENT_MAILLAGE* dupliquer(FEM_MAILLAGE *femmai,long decalage);
58    
59    
60     virtual int get_dimension(void);
61     virtual void enregistrer(std::ostream& o);
62    
63     protected:
64    
65     };
66    
67    
68    
69    
70    
71    
72     #endif
73    
74    
75