OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
OpalSBend.h
Go to the documentation of this file.
1//
2// Class OpalSBend
3// The SBEND 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_OpalSBend_HH
19#define OPAL_OpalSBend_HH
20
21#include "Elements/OpalBend.h"
22
23class OpalWake;
25
26class OpalSBend: public OpalBend {
27
28public:
29
31 OpalSBend();
32
33 virtual ~OpalSBend();
34
36 virtual OpalSBend* clone(const std::string& name);
37
39 virtual void update();
40
41private:
42
43 // Not implemented.
45 void operator=(const OpalSBend&);
46
47 // Clone constructor.
48 OpalSBend(const std::string& name, OpalSBend* parent);
49
52};
53
54#endif // OPAL_OpalSBend_HH
const std::string name
Base class for all bending magnets.
Definition: OpalBend.h:30
OpalSBend()
Exemplar constructor.
Definition: OpalSBend.cpp:28
void operator=(const OpalSBend &)
virtual void update()
Update the embedded CLASSIC bend.
Definition: OpalSBend.cpp:59
virtual ~OpalSBend()
Definition: OpalSBend.cpp:48
ParticleMatterInteraction * parmatint_m
Definition: OpalSBend.h:51
virtual OpalSBend * clone(const std::string &name)
Make clone.
Definition: OpalSBend.cpp:54
OpalWake * owk_m
Definition: OpalSBend.h:50
OpalSBend(const OpalSBend &)