OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Eigen.h
Go to the documentation of this file.
1 #ifndef OPAL_Eigen_HH
2 #define OPAL_Eigen_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: Eigen.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: Eigen
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:33:45 $
17 // $Author: Andreas Adelmann $
18 //
19 // ------------------------------------------------------------------------
20 
21 #include "AbstractObjects/Action.h"
23 #include <iosfwd>
24 
25 class Twiss;
26 
27 
28 // Class Eigen
29 // ------------------------------------------------------------------------
31 
32 class Eigen: public Action {
33 
34 public:
35 
37  Eigen();
38 
39  virtual ~Eigen();
40 
42  virtual Eigen *clone(const std::string &name);
43 
45  virtual void execute();
46 
47 private:
48 
49  // Not implemented.
50  Eigen(const Eigen &);
51  void operator=(const Eigen &);
52 
53  // Clone constructor.
54  Eigen(const std::string &name, Eigen *parent);
55 
56  // Do the listing.
57  void format(std::ostream &, const Twiss *);
58 
60  void formatPrint(std::ostream &, const Twiss *) const;
61 
62 };
63 
64 #endif // OPAL_Eigen_HH
The EIGEN command.
Definition: Eigen.h:32
Eigen()
Exemplar constructor.
Definition: Eigen.cpp:45
The base class for all OPAL actions.
Definition: Action.h:30
virtual ~Eigen()
Definition: Eigen.cpp:63
void operator=(const Eigen &)
Class Twiss.
Definition: Twiss.h:41
void formatPrint(std::ostream &, const Twiss *) const
Print Twiss table in eigenvector representation.
Definition: Eigen.cpp:103
void format(std::ostream &, const Twiss *)
Definition: Eigen.cpp:98
virtual Eigen * clone(const std::string &name)
Make clone.
Definition: Eigen.cpp:67
const std::string name
virtual void execute()
Execute the command.
Definition: Eigen.cpp:72