ParMooN
 All Classes Functions Variables Friends Pages
FE2DMapper1Reg.h
1 // =======================================================================
2 // @(#)FE2DMapper1Reg.h 1.1 10/30/98
3 //
4 // Class: TFE2DMapper1Reg
5 // Purpose: find out which of the given local degress of freedom
6 // are equivalent to the same global degree of freedom
7 // for 1 regular case
8 //
9 // Author: Gunar Matthies 05.11.97
10 //
11 // History: start of reimplementation 03.08.1998 (GM)
12 //
13 // =======================================================================
14 
15 #ifndef __FE2DMAPPER1REG__
16 #define __FE2DMAPPER1REG__
17 
18 #include <FE2DMapper.h>
19 
24 {
25  protected:
27  int N_DOF2;
28 
30  int N_Mid;
31 
33  int *Mid;
34 
35  public:
37  TFE2DMapper1Reg(char *name, char *description, int n0, int n1, int n2,
38  int n_pairs, int *pairs,
39  int n_mid, int *mid,
40  int n_hanging, int *hanging,
41  HNDesc *hangingtypes, int **coupling,
42  int n_farhanging, int *farhanging,
43  HNDesc *farhangingtypes, int ****farcoupling,
44  int n_noopposite, int *noopposite,
45  int n_nodes);
46 
49  { };
50 
51  // Methods
53  int GetN_DOF2()
54  { return N_DOF2; }
55 
57  void GetN_DOF(int &n0, int &n1, int &n2)
58  {
59  n0 = N_DOF1;
60  n1 = N_DOF1;
61  n2 = N_DOF2;
62  }
63 
67  void MapCoarseFine(int *Global, int I_K0, int I_K1, int I_K2,
68  int *Indices0, int *Indices1, int *Indices2,
69  int LocEdge0, int LocEdge1, int LocEdge2,
70  TFEDesc2D *Desc0, TFEDesc2D *Desc1, TFEDesc2D *Desc2,
71  int &Counter, int LowerFirstChild,
73  TVector<int> *numbers);
74 
78  void MapFineCoarse(int *Global, int I_K0, int I_K1, int I_K2,
79  int *Indices0, int *Indices1, int *Indices2,
80  int LocEdge0, int LocEdge1, int LocEdge2,
81  TFEDesc2D *Desc0, TFEDesc2D *Desc1, TFEDesc2D *Desc2,
82  int &Counter, int LowerFirstChild,
84  TVector<int> *numbers);
85 
86 };
87 
88 #endif
Definition: FE2DMapper1Reg.h:23
int GetN_DOF2()
Definition: FE2DMapper1Reg.h:53
int N_DOF2
Definition: FE2DMapper1Reg.h:27
int N_Mid
Definition: FE2DMapper1Reg.h:30
void GetN_DOF(int &n0, int &n1, int &n2)
Definition: FE2DMapper1Reg.h:57
void MapCoarseFine(int *Global, int I_K0, int I_K1, int I_K2, int *Indices0, int *Indices1, int *Indices2, int LocEdge0, int LocEdge1, int LocEdge2, TFEDesc2D *Desc0, TFEDesc2D *Desc1, TFEDesc2D *Desc2, int &Counter, int LowerFirstChild, TVector< THangingNode * > *vect, TVector< int > *numbers)
Definition: FE2DMapper1Reg.C:47
void MapFineCoarse(int *Global, int I_K0, int I_K1, int I_K2, int *Indices0, int *Indices1, int *Indices2, int LocEdge0, int LocEdge1, int LocEdge2, TFEDesc2D *Desc0, TFEDesc2D *Desc1, TFEDesc2D *Desc2, int &Counter, int LowerFirstChild, TVector< THangingNode * > *vect, TVector< int > *numbers)
Definition: FE2DMapper1Reg.C:122
int * Mid
Definition: FE2DMapper1Reg.h:33
int N_DOF1
Definition: FE2DMapper.h:37
~TFE2DMapper1Reg()
Definition: FE2DMapper1Reg.h:48
Definition: Vector.h:24
Definition: FEDesc2D.h:15
Definition: FE2DMapper.h:24
TFE2DMapper1Reg(char *name, char *description, int n0, int n1, int n2, int n_pairs, int *pairs, int n_mid, int *mid, int n_hanging, int *hanging, HNDesc *hangingtypes, int **coupling, int n_farhanging, int *farhanging, HNDesc *farhangingtypes, int ****farcoupling, int n_noopposite, int *noopposite, int n_nodes)
Definition: FE2DMapper1Reg.C:22