ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/solveur/src/sl_element.h
Revision: 5
Committed: Tue Jun 12 20:26:34 2007 UTC (17 years, 11 months ago)
Content type: text/plain
Original Path: magic/lib/solveur/solveur/src/sl_element.h
File size: 1326 byte(s)
Log Message:

File Contents

# User Rev Content
1 5 //---------------------------------------------------------------------------
2    
3     #ifndef sol_elementH
4     #define sol_elementH
5     //---------------------------------------------------------------------------
6    
7    
8     #ifdef WINDOWS_VERSION
9     #ifdef BUILT_DLL_SOLVEUR
10     #define DLLPORTSOLVEUR __declspec(dllexport)
11     #else
12     #define DLLPORTSOLVEUR __declspec(dllimport)
13     #endif
14     #else
15     #define DLLPORTSOLVEUR
16     #endif
17     //class SL_ELEMENT
18    
19     class DLLPORTSOLVEUR SL_ELEMENT
20    
21     {
22     public:
23     SL_ELEMENT(class FEM_ELEMENT_MAILLAGE* m);
24     SL_ELEMENT(SL_ELEMENT& mdd);
25     virtual ~SL_ELEMENT();
26    
27     virtual int nb_point_gauss(void) = 0;
28    
29     virtual int nb_fonction_interpolation(void)=0;
30     virtual void get_point_gauss(int num,double *xyz,double& poids)=0;
31     virtual double get_fonction_interpolation(int num,double *uv)=0;
32     virtual double get_fonction_derive_interpolation(int num,int numvariable,double *uv)=0;
33     virtual double get_jacobien(double* jac,double *uv,int& li,int& col,double unite)=0;
34     virtual void get_elasticite(double*H,double E,double nu,int& taille)=0;
35     virtual void get_inverse_jacob(double* jac,double *uv,double unite)=0;
36     virtual int nb_point_extrapolation()=0;
37     virtual int get_dimension()=0;
38    
39    
40     protected:
41    
42     FEM_ELEMENT_MAILLAGE* mai;
43    
44     };
45    
46    
47    
48    
49    
50    
51    
52    
53    
54    
55    
56    
57    
58    
59     #endif