OPAL (Object Oriented Parallel Accelerator Library)
2022.1
OPAL
src
src
Elements
OpalSeptum.h
Go to the documentation of this file.
1
//
2
// Class OpalSeptum
3
// The Septum element.
4
//
5
// Copyright (c) 200x - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
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_OpalSeptum_HH
19
#define OPAL_OpalSeptum_HH
20
21
#include "
Elements/OpalElement.h
"
22
23
class
OpalWake
;
24
25
class
OpalSeptum
:
public
OpalElement
{
26
27
public
:
28
30
enum
{
31
XSTART
=
COMMON
,
// Start of x coordinate
32
XEND
,
// End of x coordinate
33
YSTART
,
// Start of y coordinate
34
YEND
,
// End of y coordinate
35
WIDTH
,
// Width of the septum
36
SIZE
37
};
39
OpalSeptum
();
40
41
virtual
~OpalSeptum
();
42
44
virtual
OpalSeptum
*
clone
(
const
std::string &
name
);
45
47
virtual
void
update
();
48
49
private
:
50
51
// Not implemented.
52
OpalSeptum
(
const
OpalSeptum
&);
53
void
operator=
(
const
OpalSeptum
&);
54
55
// Clone constructor.
56
OpalSeptum
(
const
std::string &
name
,
OpalSeptum
*parent);
57
58
OpalWake
*
owk_m
;
59
};
60
61
#endif
// OPAL_OpalSeptum_HH
OpalElement.h
name
const std::string name
Definition:
MaxNormRadialPeak.cpp:32
OpalElement
Definition:
OpalElement.h:28
OpalElement::COMMON
@ COMMON
Definition:
OpalElement.h:56
OpalSeptum
Definition:
OpalSeptum.h:25
OpalSeptum::clone
virtual OpalSeptum * clone(const std::string &name)
Make clone.
Definition:
OpalSeptum.cpp:61
OpalSeptum::owk_m
OpalWake * owk_m
Definition:
OpalSeptum.h:58
OpalSeptum::XEND
@ XEND
Definition:
OpalSeptum.h:32
OpalSeptum::YEND
@ YEND
Definition:
OpalSeptum.h:34
OpalSeptum::WIDTH
@ WIDTH
Definition:
OpalSeptum.h:35
OpalSeptum::YSTART
@ YSTART
Definition:
OpalSeptum.h:33
OpalSeptum::XSTART
@ XSTART
Definition:
OpalSeptum.h:31
OpalSeptum::SIZE
@ SIZE
Definition:
OpalSeptum.h:36
OpalSeptum::~OpalSeptum
virtual ~OpalSeptum()
Definition:
OpalSeptum.cpp:55
OpalSeptum::operator=
void operator=(const OpalSeptum &)
OpalSeptum::OpalSeptum
OpalSeptum(const OpalSeptum &)
OpalSeptum::OpalSeptum
OpalSeptum()
Exemplar constructor.
Definition:
OpalSeptum.cpp:26
OpalSeptum::update
virtual void update()
Update the embedded CLASSIC septum.
Definition:
OpalSeptum.cpp:66
OpalWake
Definition:
OpalWake.h:26
Generated on Thu Oct 20 2022 17:40:11 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.3