ParMooN
 All Classes Functions Variables Friends Pages
FESpace1D.h
1 // =======================================================================
2 // @(#)FESpace1D.h 1.1 10/30/98
3 //
4 // Class: TFESpace1D
5 // Purpose: class for all 1D finite element spaces
6 //
7 // Author: Gunar Matthies (03.11.97)
8 //
9 // History: start of implementation 03.11.97 (Gunar Matthies)
10 //
11 // start of reimplementation
12 // 09.10.98 (Gunar Matthies)
13 //
14 // =======================================================================
15 
16 #ifndef __FESPACE1D__
17 #define __FESPACE1D__
18 
19 #include <FESpace.h>
20 #include <FE1D.h>
21 
22 
23 
24 typedef struct
25 {
28 
31 
34 
37 
40 
43 
45 
46 
48 class TFESpace1D : public TFESpace
49 {
50  protected:
52  FE1D *UsedElements;
53 
56 
58  FE1D *AllElements;
59 
63 
66 
67  public:
69  TFESpace1D(TCollection *coll, char *name, char *description);
70 
72  TFESpace1D(TCollection *coll, char *name, char *description,
73  int k);
74 
76  TFESpace1D(TCollection *coll, char *name, char *description,
77  FE1D *fes);
78 
80  ~TFESpace1D();
81 
83  void FindUsedElements();
84 
86  void ConstructSpace();
87 
90  { return UsedElements; }
91 
93  FE1D GetFE1D(int i, TBaseCell *cell);
94 
95  void SetIntlPtIndexOfPts(int *intlPtIndexOfPts)
96  { IntlPtIndexOfPts = intlPtIndexOfPts; }
97 
98  int *GetIntlPtIndexOfPts()
99  { return IntlPtIndexOfPts; }
100 
101  void SetN_RootNodalPts(int n_GlobNodalIntPts)
102  { N_GlobNodalIntPts = n_GlobNodalIntPts; }
103 
104  int GetN_RootNodalPts()
105  { return N_GlobNodalIntPts; }
106 
107 };
108 
109 #endif
FE1D * AllElements
Definition: FESpace1D.h:58
void FindUsedElements()
Definition: FESpace1D.C:137
int * IntlPtIndexOfPts
Definition: FESpace1D.h:62
Definition: FESpace1D.h:48
int * N_DofPerEdge
Definition: FESpace1D.h:33
int * EdgeNonMotBeginIndex
Definition: FESpace1D.h:42
int * GlobalDof_NonMortaEdgeDof
Definition: FESpace1D.h:30
FE1D * UsedElements
Definition: FESpace1D.h:52
store cells in an array, used by cell iterators
Definition: Collection.h:18
int N_GlobNodalIntPts
Definition: FESpace1D.h:65
TFESpace1D(TCollection *coll, char *name, char *description)
Definition: FESpace1D.C:26
Definition: FESpace.h:30
int * EdgeNonMotLocGlobalNo
Definition: FESpace1D.h:36
void ConstructSpace()
Definition: FESpace1D.C:173
int * EdgeNonMotGlobalNo
Definition: FESpace1D.h:39
information for finite element data structure
Definition: BaseCell.h:25
FE1D * ElementForShape
Definition: FESpace1D.h:55
~TFESpace1D()
Definition: FESpace1D.C:415
FE1D GetFE1D(int i, TBaseCell *cell)
Definition: FESpace1D.C:113
int N_NonMortaDofs
Definition: FESpace1D.h:27
FE1D * GetUsedElements()
Definition: FESpace1D.h:89
Definition: FESpace1D.h:24