OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Elements
OpalVerticalFFAMagnet.h
Go to the documentation of this file.
1
//
2
// Class OpalVerticalFFAMagnet
3
// The class provides the user interface for the VERTICALFFA object
4
//
5
// Copyright (c) 2019 - 2023 Chris Rogers, STFC Rutherford Appleton Laboratory, Didcot, UK
6
// All rights reserved
7
//
8
// This file is part of OPAL.
9
//
10
// OPAL is free software: you can redistribute it and/or modify
11
// it under the terms of the GNU General Public License as published by
12
// the Free Software Foundation, either version 3 of the License, or
13
// (at your option) any later version.
14
//
15
// You should have received a copy of the GNU General Public License
16
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
17
//
18
#ifndef OPAL_OPALVERTICALFFAMAGNET_H
19
#define OPAL_OPALVERTICALFFAMAGNET_H
20
21
#include "
Elements/OpalElement.h
"
22
23
class
OpalVerticalFFAMagnet
:
public
OpalElement
{
24
25
public
:
27
enum
{
28
B0
=
COMMON
,
29
FIELD_INDEX
,
30
WIDTH
,
31
MAX_HORIZONTAL_POWER
,
32
END_LENGTH
,
33
CENTRE_LENGTH
,
34
BB_LENGTH
,
35
HEIGHT_NEG_EXTENT
,
36
HEIGHT_POS_EXTENT
,
37
SIZE
// size of the enum
38
};
39
41
OpalVerticalFFAMagnet
();
42
44
virtual
~OpalVerticalFFAMagnet
();
45
47
virtual
OpalVerticalFFAMagnet
*
clone
(
const
std::string&
name
);
48
50
virtual
void
update
();
51
52
private
:
53
// Not implemented.
54
OpalVerticalFFAMagnet
(
const
OpalVerticalFFAMagnet
&);
55
void
operator=
(
const
OpalVerticalFFAMagnet
&);
56
57
// Clone constructor.
58
OpalVerticalFFAMagnet
(
const
std::string&
name
,
OpalVerticalFFAMagnet
* parent);
59
60
static
const
std::string
docstring_m
;
61
};
62
63
#endif // OPAL_OPALVERTICALFFAMAGNET_H
64
OpalElement.h
OpalVerticalFFAMagnet::OpalVerticalFFAMagnet
OpalVerticalFFAMagnet()
Definition:
OpalVerticalFFAMagnet.cpp:29
OpalVerticalFFAMagnet::HEIGHT_NEG_EXTENT
Definition:
OpalVerticalFFAMagnet.h:35
OpalVerticalFFAMagnet::docstring_m
static const std::string docstring_m
Definition:
OpalVerticalFFAMagnet.h:60
OpalVerticalFFAMagnet::CENTRE_LENGTH
Definition:
OpalVerticalFFAMagnet.h:33
OpalVerticalFFAMagnet::SIZE
Definition:
OpalVerticalFFAMagnet.h:37
OpalElement
Definition:
OpalElement.h:28
OpalVerticalFFAMagnet::END_LENGTH
Definition:
OpalVerticalFFAMagnet.h:32
OpalVerticalFFAMagnet::clone
virtual OpalVerticalFFAMagnet * clone(const std::string &name)
Definition:
OpalVerticalFFAMagnet.cpp:86
OpalVerticalFFAMagnet::operator=
void operator=(const OpalVerticalFFAMagnet &)
OpalVerticalFFAMagnet::~OpalVerticalFFAMagnet
virtual ~OpalVerticalFFAMagnet()
Definition:
OpalVerticalFFAMagnet.cpp:83
name
const std::string name
Definition:
MaxNormRadialPeak.cpp:32
OpalElement::COMMON
Definition:
OpalElement.h:56
OpalVerticalFFAMagnet::B0
Definition:
OpalVerticalFFAMagnet.h:28
OpalVerticalFFAMagnet
Definition:
OpalVerticalFFAMagnet.h:23
OpalVerticalFFAMagnet::BB_LENGTH
Definition:
OpalVerticalFFAMagnet.h:34
OpalVerticalFFAMagnet::HEIGHT_POS_EXTENT
Definition:
OpalVerticalFFAMagnet.h:36
OpalVerticalFFAMagnet::FIELD_INDEX
Definition:
OpalVerticalFFAMagnet.h:29
OpalVerticalFFAMagnet::WIDTH
Definition:
OpalVerticalFFAMagnet.h:30
OpalVerticalFFAMagnet::update
virtual void update()
Definition:
OpalVerticalFFAMagnet.cpp:90
OpalVerticalFFAMagnet::MAX_HORIZONTAL_POWER
Definition:
OpalVerticalFFAMagnet.h:31
Generated on Tue Jul 2 2024 15:05:24 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5