valSPH
Main Page
Classes
Files
File List
File Members
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
22
class
CotangentBundlePoint
{
23
24
25
private
:
26
27
28
Position
q;
29
Momentum
p;
30
31
32
public
:
33
34
38
CotangentBundlePoint
();
39
40
44
CotangentBundlePoint
(
int
n);
45
46
53
CotangentBundlePoint
(
Position
q,
Momentum
p);
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
115
~
CotangentBundlePoint
();
116
117
118
};
119
120
121
#endif
valCode
repository
valSPH
src
CotangentBundlePoint.h
Generated on Fri Nov 23 2012 19:13:58 for valSPH by
1.8.2