ParMooN
 All Classes Functions Variables Friends Pages
IsoEdge3D.h
1 // =======================================================================
2 // @(#)IsoEdge3D
3 //
4 // Class: TIsoEdge3D
5 // Purpose: class for iso edges in 3D
6 //
7 // Author: Sashikumaar Ganesan 06.09.2010
8 //
9 // History:
10 //
11 // =======================================================================
12 
13 #ifndef __ISOEDGE3D__
14 #define __ISOEDGE3D__
15 
16 #include <Vertex.h>
17 #include <Edge.h>
18 
19 
20 class TIsoEdge3D : public TEdge
21 {
22  protected:
23  int N_Vertices;
24 
25  TVertex **Vertices;
26 
27  int *LocDof;
28 
29  int LocVert[2];
30 
31  public:
33  TIsoEdge3D(int n_Neibs, TBaseCell **neighbs);
34 
36  void SetIsoVertInfo(int n_vertices, TVertex **vertices, int *locdof, int *locvert);
37 
38  ~TIsoEdge3D();
39 
40  int GetN_Vertices()
41  { return N_Vertices; }
42 
43  TVertex *GetVertex(int i)
44  { return Vertices[i]; }
45 
46  int GetLocalDof (int i)
47  { return LocDof[i]; }
48 
49  void GetLocalVertices(int &a, int &b)
50  { a = LocVert[0]; b = LocVert[1]; }
51 };
52 
53 #endif
void SetIsoVertInfo(int n_vertices, TVertex **vertices, int *locdof, int *locvert)
Definition: IsoEdge3D.C:23
Definition: IsoEdge3D.h:20
information for finite element data structure
Definition: BaseCell.h:25
TIsoEdge3D(int n_Neibs, TBaseCell **neighbs)
Definition: IsoEdge3D.C:17
Definition: Vertex.h:19
Definition: Edge.h:22