diff options
author | Jakob Odersky <jodersky@gmail.com> | 2011-04-19 15:49:14 +0000 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2011-04-19 15:49:14 +0000 |
commit | 8f85e6c82e573402c2d34f709e868c4ae55510a7 (patch) | |
tree | cf32de50c6f41c1c62e3882889aa460836868451 /src/main/FODO.h | |
parent | 12a5fafab92e4a6803c56af5a934ba21f84ee762 (diff) | |
download | vhc-8f85e6c82e573402c2d34f709e868c4ae55510a7.tar.gz vhc-8f85e6c82e573402c2d34f709e868c4ae55510a7.tar.bz2 vhc-8f85e6c82e573402c2d34f709e868c4ae55510a7.zip |
Resolution de quelques bugs mineures.
Diffstat (limited to 'src/main/FODO.h')
-rw-r--r-- | src/main/FODO.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/main/FODO.h b/src/main/FODO.h index a3f19f2..4d61ad3 100644 --- a/src/main/FODO.h +++ b/src/main/FODO.h @@ -8,16 +8,13 @@ #ifndef FODO_H_ #define FODO_H_ +#include <string> #include "Quadrupole.h" #include "CompositeElement.h" #include "Vector3D.h" namespace vhc { -/** Représente une maille FODO, qui est un composé d'éléments constitué - * -d'un quadrupole focalisant; - * -de deux éléments droits; - * -à la sortie, d'un quadrupole défocalisant. */ class FODO: public CompositeElement { private: @@ -29,13 +26,12 @@ private: StraightElement* straightElement2; public: - /** Constructeur d'une maille FODO.*/ FODO(const Vector3D& entry, const Vector3D& exit, double sectionRadius, double straightLength, double focalizingCoefficient, Element* next = NULL); - /** Destructeur virtuel.*/ virtual ~FODO(); - // TODO expl. + virtual std::string getType() const; + virtual FODO* clone() const; }; |