OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
SkewSextupole.cpp
Go to the documentation of this file.
1 // ------------------------------------------------------------------------
2 // $RCSfile: SkewSextupole.cpp,v $
3 // ------------------------------------------------------------------------
4 // $Revision: 1.1.1.1 $
5 // ------------------------------------------------------------------------
6 // Copyright: see Copyright.readme
7 // ------------------------------------------------------------------------
8 //
9 // Type definition: SkewSextupole
10 // Defines a concrete representation for a skewed sextupole.
11 //
12 // ------------------------------------------------------------------------
13 // Class category: BeamlineCore
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:32:34 $
17 // $Author: fci $
18 //
19 // ------------------------------------------------------------------------
20 
23 
24 
25 // Implementation of typedef SkewSextupole.
26 // ------------------------------------------------------------------------
27 
28 // The SkewSextupole type string.
29 template <>
30 const std::string SingleMultipole < -3 >::type("SkewSextupole");
31 
32 template <>
33 const SingleMultipole < -3 >::Entry SingleMultipole < -3 >::entries[] = {
34  {
35  "L",
36  &SingleMultipole < -3 >::getElementLength,
37  &SingleMultipole < -3 >::setElementLength
38  },
39  {
40  "A3",
41  &SingleMultipole < -3 >::getComponent,
42  &SingleMultipole < -3 >::setComponent
43  },
44  { 0, 0, 0 }
45 };
boost::function< boost::tuple< double, bool >arguments_t)> type
Definition: function.hpp:21