OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
src
src
Classic
BeamlineCore
Quadrupole.cpp
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
// $RCSfile: Quadrupole.cpp,v $
3
// ------------------------------------------------------------------------
4
// $Revision: 1.1.1.1 $
5
// ------------------------------------------------------------------------
6
// Copyright: see Copyright.readme
7
// ------------------------------------------------------------------------
8
//
9
// Type definition: Quadrupole
10
// Defines a concrete representation for a normal (straight) quadrupole.
11
//
12
// ------------------------------------------------------------------------
13
// Class category: BeamlineCore
14
// ------------------------------------------------------------------------
15
//
16
// $Date: 2000/03/27 09:32:34 $
17
// $Author: fci $
18
//
19
// ------------------------------------------------------------------------
20
21
#include "
BeamlineCore/Quadrupole.h
"
22
#include "
Channels/IndirectChannel.h
"
23
24
25
// Implementation of typedef Quadrupole.
26
// ------------------------------------------------------------------------
27
28
// The quadrupole type string.
29
template
<>
30
const
std::string
SingleMultipole<2>::type
(
"Quadrupole"
);
31
32
template
<>
33
const
SingleMultipole<2>::Entry
SingleMultipole<2>::entries
[] = {
34
{
35
"L"
,
36
&
SingleMultipole<2>::getElementLength
,
37
&
SingleMultipole<2>::setElementLength
38
},
39
{
40
"B2"
,
41
&
SingleMultipole<2>::getComponent
,
42
&
SingleMultipole<2>::setComponent
43
},
44
{ 0, 0, 0 }
45
};
Quadrupole.h
IndirectChannel.h
SingleMultipole
Definition:
SingleMultipole.h:47
SingleMultipole::type
static const std::string type
Definition:
SingleMultipole.h:107
SingleMultipole::Entry
Definition:
SingleMultipole.h:110
Generated on Wed Aug 25 2021 16:41:02 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.1