valSPH
Main Page
Classes
Files
File List
File Members
valSPH
Classes
Files
File List
AllPair.cpp
AllPair.h
Configuration.cpp
Configuration.h
CotangentBundlePoint.cpp
CotangentBundlePoint.h
CubicKernel.cpp
CubicKernel.h
Display.cpp
Display.h
DisplaySilo.cpp
DisplaySilo.h
DisplayVTK.cpp
DisplayVTK.h
EoS.cpp
EoS.h
Equation.cpp
Equation.h
EulerExplicitSolver.cpp
EulerExplicitSolver.h
Fehlberg.cpp
Fehlberg.h
Fluid.cpp
Fluid.h
FourTensor.cpp
FourTensor.h
GaussianKernel.cpp
GaussianKernel.h
HDEquation.cpp
HDEquation.h
IdealGasEoS.cpp
IdealGasEoS.h
Kernel.cpp
Kernel.h
LinkedList.cpp
LinkedList.h
LSEoS.cpp
LSEoS.h
main.cpp
MIT60EoS.cpp
MIT60EoS.h
MIT80EoS.cpp
MIT80EoS.h
Momentum.cpp
Momentum.h
MultigridSolver.cpp
MultigridSolver.h
OdeSolver.cpp
OdeSolver.h
OneTensor.cpp
OneTensor.h
Particle.cpp
Particle.h
PdeSolver.cpp
PdeSolver.h
PendulumEquation.cpp
PendulumEquation.h
Position.cpp
Position.h
PredictorCorrector.cpp
PredictorCorrector.h
QuarticKernel.cpp
QuarticKernel.h
QuinticKernel.cpp
QuinticKernel.h
RK23Solver.cpp
RK23Solver.h
RK4Solver.cpp
RK4Solver.h
ShenEoS.cpp
ShenEoS.h
Spacetime.cpp
Spacetime.h
SpatialHashing.cpp
SpatialHashing.h
SpatialIndex.cpp
SpatialIndex.h
SpatialTree.cpp
SpatialTree.h
Stage.cpp
Stage.h
TensorialKernel.cpp
TensorialKernel.h
ThreeTensor.cpp
ThreeTensor.h
TwoTensor.cpp
TwoTensor.h
ValKernel.cpp
ValKernel.h
Verlet.cpp
Verlet.h
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