OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
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 
23 
24 
25 // Class OpalParticle
26 // ------------------------------------------------------------------------
27 
29 {}
30 
31 
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 }
Definition: rbendmap.h:8
Definition: rbendmap.h:8
Definition: rbendmap.h:8
Definition: rbendmap.h:8
Definition: rbendmap.h:8
Definition: rbendmap.h:8