OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Integrator.cpp
Go to the documentation of this file.
1 // ------------------------------------------------------------------------
2 // $RCSfile: Integrator.cpp,v $
3 // ------------------------------------------------------------------------
4 // $Revision: 1.1.1.1 $
5 // ------------------------------------------------------------------------
6 // Copyright: see Copyright.readme
7 // ------------------------------------------------------------------------
8 //
9 // Class: Integrator
10 // Integrator is a pure abstract class. It forms the base class for all
11 // special propagators through an element or a beamline.
12 //
13 // ------------------------------------------------------------------------
14 // Class category: AbsBeamline
15 // ------------------------------------------------------------------------
16 //
17 // $Date: 2000/03/27 09:32:31 $
18 // $Author: fci $
19 //
20 // ------------------------------------------------------------------------
21 
22 #include "AbsBeamline/Integrator.h"
23 
24 
25 // Class Integrator
26 // ------------------------------------------------------------------------
27 
29  ElementBase(elem->getName()), itsElement(elem)
30 {}
31 
32 
34  ElementBase(rhs.getName()), itsElement(rhs.itsElement)
35 {}
36 
37 
39 {}
40 
41 
43  shareFlag = true;
45 }
Interface for basic beam line object.
Definition: ElementBase.h:128
virtual void makeSharable()
Set sharable flag.
Definition: Integrator.cpp:42
virtual void makeSharable()
Set sharable flag.
Pointer< ElementBase > itsElement
Pointer to the replaced element.
Definition: Integrator.h:84
virtual ~Integrator()
Definition: Integrator.cpp:38
bool shareFlag
Definition: ElementBase.h:464
Base class for special integrators.
Definition: Integrator.h:41