ParMooN
 All Classes Functions Variables Friends Pages
It_Mortar.h
1 // =======================================================================
2 // @(#)It_Mortar.h 1.2 02/08/99
3 //
4 // Class: TIt_Mortar
5 // Purpose: iterator which gets all cells on a given mortar face
6 //
7 // Author: Volker Behns 20.03.98
8 //
9 // =======================================================================
10 
11 #ifndef __IT_MORTAR__
12 #define __IT_MORTAR__
13 
14 #include <It_Search.h>
15 
17 class TIt_Mortar : public TIt_Search
18 {
19  protected:
21  int LocMortarFace[MAX_ItLevel];
22 
24  bool MortarSide;
25 
26  public:
27  // Constructors
28 
29  // Methods
31  virtual int Init(int level);
32 
34  virtual int GetMaxLevel();
35 
37  virtual TBaseCell *Next(int &info);
38 
40  virtual TBaseCell *Prev()
41  { return NULL; }
42 
45  { return Domain->GetN_MortarFace(); }
46 
48  void GetPoint(double &X, double &Y)
49  {
51  X = Vert->GetX();
52  Y = Vert->GetY();
53  }
54 };
55 
56 #endif
virtual TBaseCell * Next(int &info)
Definition: It_Mortar.C:61
int LocMortarFace[MAX_ItLevel]
Definition: It_Mortar.h:21
int ActiveLevel
Definition: It_Search.h:26
TBaseCell * ActiveCell
Definition: It_Search.h:31
virtual int GetMaxLevel()
Definition: It_Mortar.C:56
void GetPoint(double &X, double &Y)
Definition: It_Mortar.h:48
bool MortarSide
Definition: It_Mortar.h:24
TDomain * Domain
Definition: Iterator.h:32
virtual int Init(int level)
Definition: It_Mortar.C:20
Definition: It_Mortar.h:17
virtual TVertex * GetVertex(int Vert_i)=0
return the pointer to vertex with number i
Definition: It_Search.h:19
int GetN_MortarFace()
return number of mortar face structs
Definition: Domain.h:199
double GetY() const
Definition: Vertex.h:99
int GetN_MortarFace()
Definition: It_Mortar.h:44
information for finite element data structure
Definition: BaseCell.h:25
Definition: Vertex.h:19
virtual TBaseCell * Prev()
Definition: It_Mortar.h:40
double GetX() const
Definition: Vertex.h:96