OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Classic
Algorithms
OpalParticle.cpp
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
// $RCSfile: OpalParticle.cpp,v $
3
// ------------------------------------------------------------------------
4
// $Revision: 1.1.1.1 $
5
// ------------------------------------------------------------------------
6
// Copyright: see Copyright.readme
7
// ------------------------------------------------------------------------
8
//
9
// Class: OpalParticle
10
// A OpalParticle represents the phase space coordinates of a particle.
11
// It can be propagated through a beamline.
12
//
13
// ------------------------------------------------------------------------
14
// Class category: Algorithms
15
// ------------------------------------------------------------------------
16
//
17
// $Date: 2000/03/27 09:32:33 $
18
// $Author: fci $
19
//
20
// ------------------------------------------------------------------------
21
22
#include "
Algorithms/OpalParticle.h
"
23
24
25
// Class OpalParticle
26
// ------------------------------------------------------------------------
27
28
OpalParticle::OpalParticle
()
29
{}
30
31
32
OpalParticle::OpalParticle
33
(
double
x,
double
px,
double
y,
double
py,
double
t,
double
pt)
34
35
{
36
phase[
X
] = x;
37
phase[
PX
] = px;
38
phase[
Y
] = y;
39
phase[
PY
] = py;
40
phase[
T
] = t;
41
phase[
PT
] = pt;
42
}
Y
Definition:
rbendmap.h:8
OpalParticle.h
T
Definition:
rbendmap.h:8
OpalParticle::OpalParticle
OpalParticle()
Definition:
OpalParticle.cpp:28
X
Definition:
rbendmap.h:8
PX
Definition:
rbendmap.h:8
PT
Definition:
rbendmap.h:8
PY
Definition:
rbendmap.h:8
Generated on Sat Jan 4 2020 14:47:51 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5