ParMooN
 All Classes Functions Variables Friends Pages
JointCollection.h
1 // =======================================================================
2 // @(#)JointCollection.h 4.1
3 //
4 // Class: TJointCollection
5 // Purpose: store Joint in an array
6 // used by DG matrices assembler
7 //
8 // Author: Sashikumaar Ganesan 03.11.09
9 //
10 // History: 03.11.09 Starting implementation
11 //
12 // =======================================================================
13 
14 #ifndef __JOINTCOLLECTION__
15 #define __JOINTCOLLECTION__
16 
17 #include <Joint.h>
18 
21 {
22  protected:
24  int N_Joints;
25 
28 
29  public:
31  TJointCollection(int n_joints, TJoint **joints);
32 
35  { return N_Joints; }
36 
38  TJoint *GetJoint(int i)
39  { return Joints[i]; }
40 
43 };
44 
45 #endif
TJoint * GetJoint(int i)
Definition: JointCollection.h:38
int GetN_Joints()
Definition: JointCollection.h:34
Definition: JointCollection.h:20
Definition: Joint.h:48
~TJointCollection()
Definition: JointCollection.C:26
int N_Joints
Definition: JointCollection.h:24
TJointCollection(int n_joints, TJoint **joints)
Definition: JointCollection.C:18
TJoint ** Joints
Definition: JointCollection.h:27