ParMooN
 All Classes Functions Variables Friends Pages
BoundEdge.h
1 // =======================================================================
2 // @(#)BoundEdge.h 1.2 08/27/99
3 //
4 // Class: TBoundEdge
5 // Purpose: edge on a boundary component
6 //
7 // Author: Volker Behns 02.08.97
8 //
9 // =======================================================================
10 
11 #ifndef __BOUNDEDGE__
12 #define __BOUNDEDGE__
13 
14 #include <Joint.h>
15 #include <BoundComp2D.h>
16 #include <Vertex.h>
17 
19 class TBoundEdge : public TJoint
20 {
21  protected:
24 
26  double T_0;
28  double T_1;
29 
30  public:
31  // Constructors
34  TBoundEdge(TBoundComp2D *bdcomp, double t_0, double t_1);
35 
36  // Methods
39  virtual int CheckMatchingRef(TBaseCell *Me, int J_i,
40  struct StoreGeom &Tmp);
41 
42  #ifdef __MORTAR__
43 
45  virtual int CheckMatchingRef(TBaseCell *Me, int J_i,
46  StoreGeomMortar &Tmp);
47  #endif
48 
50  virtual TJoint *NewInst(double T_0, double T_1, TBaseCell *Me);
51  virtual TJoint *NewInst();
52 
55  { return T_0; }
56 
58  double GetEndParameter()
59  { return T_1; }
60 
62  void GetParameters(double& t0, double& t1)
63  {
64  t0 = T_0;
65  t1 = T_1;
66  }
67 
68 #ifdef __2D__
69 
70  void UpdateParameters(TVertex *Begin, TVertex *End);
71 #endif
72 
74  int GetXYofT(double T, double &X, double &Y);
75 
78  { return BoundComp; }
79 
81  virtual bool InnerJoint() const
82  { return false; }
83 
85  void ChangeBoundComp(TBoundComp2D *New_BoundComp)
86  {BoundComp = New_BoundComp;}
87 };
88 
89 #endif
void GetParameters(double &t0, double &t1)
Definition: BoundEdge.h:62
Definition: Joint.h:29
virtual int CheckMatchingRef(TBaseCell *Me, int J_i, struct StoreGeom &Tmp)
Definition: BoundEdge.C:24
TBoundComp2D * GetBoundComp() const
Definition: BoundEdge.h:77
void ChangeBoundComp(TBoundComp2D *New_BoundComp)
Definition: BoundEdge.h:85
Definition: Joint.h:37
virtual TJoint * NewInst(double T_0, double T_1, TBaseCell *Me)
Definition: BoundEdge.C:67
void UpdateParameters(TVertex *Begin, TVertex *End)
Definition: BoundEdge.C:33
TBoundEdge(TBoundComp2D *bdcomp, double t_0, double t_1)
Definition: BoundEdge.C:14
Definition: Joint.h:48
double T_1
Definition: BoundEdge.h:28
Definition: BoundComp2D.h:17
double T_0
Definition: BoundEdge.h:26
information for finite element data structure
Definition: BaseCell.h:25
virtual bool InnerJoint() const
Definition: BoundEdge.h:81
Definition: Vertex.h:19
double GetStartParameter()
Definition: BoundEdge.h:54
TBoundComp2D * BoundComp
Definition: BoundEdge.h:23
Definition: BoundEdge.h:19
double GetEndParameter()
Definition: BoundEdge.h:58
int GetXYofT(double T, double &X, double &Y)
Definition: BoundEdge.C:79