valSPH
All Classes Files Functions Variables
CotangentBundlePoint.h
Go to the documentation of this file.
1 
10 #ifndef __CotangentBundlePoint_h__
11 #define __CotangentBundlePoint_h__
12 
13 
14 #include <vector>
15 #include "Position.h"
16 #include "Momentum.h"
17 
18 
19 using namespace std;
20 
21 
23 
24 
25  private:
26 
27 
28  Position q;
29  Momentum p;
30 
31 
32  public:
33 
34 
39 
40 
44  CotangentBundlePoint (int n);
45 
46 
54 
55 
61  int getDim ();
62 
63 
69  void setDim (int n);
70 
71 
77  Position getQ ();
78 
79 
85  Momentum getP ();
86 
87 
93  void setQ (Position q);
94 
95 
101  void setP (Momentum p);
102 
103 
109  double distance (Position r);
110 
111 
116 
117 
118 };
119 
120 
121 #endif