OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
GenParticle.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /***************************************************************************
3  *
4  * The IPPL Framework
5  *
6  *
7  * Visit http://people.web.psi.ch/adelmann/ for more details
8  *
9  ***************************************************************************/
10 
11 #ifndef GEN_PARTICLE_H
12 #define GEN_PARTICLE_H
13 
14 /*
15  * GenParticle - Specialized Particle container with just one more attribute.
16  *
17  * GenParticle is a special version of a IpplParticleBase class, specialized
18  * to have one more attribute of type T2 in addition to the normal attributes
19  * defined in IpplParticleBase.
20  */
21 
22 // include files
24 
25 
26 // GenParticle class definition
27 template<class PLayout, class T>
28 class GenParticle : public IpplParticleBase<PLayout> {
29 
30 public:
31  // the extra attribute for this class
33 
34  // constructor: user-provided Layout object must be supplied
37  }
38 
39 private:
40  // disable default constructor
42 
43 };
44 
45 #endif // GEN_PARTICLE_H
46 
47 /***************************************************************************
48  * $RCSfile: GenParticle.h,v $ $Author: adelmann $
49  * $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:28 $
50  * IPPL_VERSION_ID: $Id: GenParticle.h,v 1.1.1.1 2003/01/23 07:40:28 adelmann Exp $
51  ***************************************************************************/
void addAttribute(ParticleAttribBase &pa)
GenParticle(PLayout *L)
Definition: GenParticle.h:35
ParticleAttrib< T > data
Definition: GenParticle.h:32