ParMooN
 All Classes Functions Variables Friends Pages
FEDesc2D.h
1 // =======================================================================
2 // @(#)FEDesc2D.h 1.1 10/30/98
3 //
4 // Class: TFEDesc2D
5 // Purpose: store a finite element descriptor for a 2D element
6 //
7 // Author: Gunar Matthies 23.07.98
8 //
9 // =======================================================================
10 
11 #ifndef __FEDESC2D__
12 #define __FEDESC2D__
13 
15 class TFEDesc2D
16 {
17  protected:
19  char *Description;
20 
22  int N_DOF;
23 
26 
28  int **JointDOF;
29 
32 
34  int *InnerDOF;
35 
38 
40  int *OuterDOF;
41 
42  public:
44  TFEDesc2D(char *description, int n_dof, int n_jointdof,
45  int **jointdof, int n_innerdof, int *innerdof);
46 
48  TFEDesc2D(char *description, int n_dof, int n_jointdof,
49  int **jointdof, int n_innerdof, int *innerdof,
50  int n_outerdof, int *outerdof);
51 
53  char *GetDescription() const
54  { return Description; }
55 
57  int GetN_DOF() const
58  { return N_DOF; }
59 
61  int GetN_JointDOF() const
62  { return N_JointDOF; }
63 
65  int GetN_InnerDOF() const
66  { return N_InnerDOF; }
67 
69  int *GetInnerDOF() const
70  { return InnerDOF; }
71 
73  int GetN_OuterDOF() const
74  { return N_OuterDOF; }
75 
77  int *GetOuterDOF() const
78  { return OuterDOF; }
79 
82  void GetOuterDOF(int &n_outerdof, int* &outerdof) const
83  { n_outerdof = N_OuterDOF; outerdof = OuterDOF; }
84 
86  int **GetJointDOF() const
87  { return JointDOF; }
88 
90  int *GetJointDOF(int i) const
91  { return JointDOF[i]; }
92 
98  int GetJointOfThisDOF(int localDOF) const;
99 };
100 
101 #endif
int * GetJointDOF(int i) const
Definition: FEDesc2D.h:90
int ** JointDOF
Definition: FEDesc2D.h:28
int N_DOF
Definition: FEDesc2D.h:22
int N_JointDOF
Definition: FEDesc2D.h:25
int N_InnerDOF
Definition: FEDesc2D.h:31
int GetJointOfThisDOF(int localDOF) const
Definition: FEDesc2D.C:50
TFEDesc2D(char *description, int n_dof, int n_jointdof, int **jointdof, int n_innerdof, int *innerdof)
Definition: FEDesc2D.C:30
char * Description
Definition: FEDesc2D.h:19
int GetN_DOF() const
Definition: FEDesc2D.h:57
int GetN_InnerDOF() const
Definition: FEDesc2D.h:65
int * OuterDOF
Definition: FEDesc2D.h:40
int GetN_OuterDOF() const
Definition: FEDesc2D.h:73
int ** GetJointDOF() const
Definition: FEDesc2D.h:86
int N_OuterDOF
Definition: FEDesc2D.h:37
char * GetDescription() const
Definition: FEDesc2D.h:53
int * GetOuterDOF() const
Definition: FEDesc2D.h:77
int * InnerDOF
Definition: FEDesc2D.h:34
void GetOuterDOF(int &n_outerdof, int *&outerdof) const
Definition: FEDesc2D.h:82
int * GetInnerDOF() const
Definition: FEDesc2D.h:69
Definition: FEDesc2D.h:15
int GetN_JointDOF() const
Definition: FEDesc2D.h:61