OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
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// Class Beamline
24// ------------------------------------------------------------------------
25
27
29
30Beamline::Beamline(const std::string& name) : ElementBase(name) { shareFlag = false; }
31
33
35
37
38bool Beamline::getRelativeFlag() const { return false; }
ippl::Vector< T, Dim > Vector_t
An abstract sequence of beam line components.
Definition Beamline.h:34
virtual ~Beamline()
Definition Beamline.cpp:32
virtual bool getRelativeFlag() const
Definition Beamline.cpp:38
virtual Quaternion getInitialDirection() const
Definition Beamline.cpp:36
virtual Vector_t< double, 3 > getOrigin3D() const
Definition Beamline.cpp:34
Quaternion storage and rotation algebra used by OPALX geometry code.