OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Classic
Beamlines
Beamline.cpp
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
// $RCSfile: Beamline.cpp,v $
3
// ------------------------------------------------------------------------
4
// $Revision: 1.1.1.1 $
5
// ------------------------------------------------------------------------
6
// Copyright: see Copyright.readme
7
// ------------------------------------------------------------------------
8
//
9
// Class: Beamline
10
// Represents an abstract sequence of elements.
11
//
12
// ------------------------------------------------------------------------
13
// Class category: Beamlines
14
// ------------------------------------------------------------------------
15
//
16
// $Date: 2000/03/27 09:32:34 $
17
// $Author: fci $
18
//
19
// ------------------------------------------------------------------------
20
21
#include "
Beamlines/Beamline.h
"
22
23
24
// Class Beamline
25
// ------------------------------------------------------------------------
26
27
28
Beamline::Beamline
():
29
ElementBase
() {
30
shareFlag
=
false
;
31
}
32
33
34
Beamline::Beamline
(
const
Beamline
&):
35
ElementBase
() {
36
shareFlag
=
false
;
37
}
38
39
40
Beamline::Beamline
(
const
std::string &
name
):
41
ElementBase
(name) {
42
shareFlag
=
false
;
43
}
44
45
46
Beamline::~Beamline
()
47
{}
48
49
Vector_t
Beamline::getOrigin3D
()
const
{
50
return
Vector_t
(0);
51
}
52
53
Quaternion
Beamline::getInitialDirection
()
const
{
54
return
Quaternion
(1, 0, 0, 0);
55
}
56
57
bool
Beamline::getRelativeFlag
()
const
{
58
return
false
;
59
}
ElementBase
Interface for basic beam line object.
Definition:
ElementBase.h:128
Vektor< double, 3 >
Beamline.h
Beamline::getInitialDirection
virtual Quaternion getInitialDirection() const
Definition:
Beamline.cpp:53
Beamline::Beamline
Beamline()
Definition:
Beamline.cpp:28
Quaternion
Definition:
Quaternion.h:10
Beamline::getRelativeFlag
virtual bool getRelativeFlag() const
Definition:
Beamline.cpp:57
Vector_t
Vektor< double, 3 > Vector_t
Definition:
Vektor.h:6
Beamline::~Beamline
virtual ~Beamline()
Definition:
Beamline.cpp:46
Beamline
An abstract sequence of beam line components.
Definition:
Beamline.h:37
ElementBase::shareFlag
bool shareFlag
Definition:
ElementBase.h:464
name
const std::string name
Definition:
MaxNormRadialPeak.cpp:3
Beamline::getOrigin3D
virtual Vector_t getOrigin3D() const
Definition:
Beamline.cpp:49
Generated on Sat Jan 4 2020 14:47:53 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5