OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
DiscParticle.hpp
Go to the documentation of this file.
1 // -*- C++ -*-
2 /***************************************************************************
3  *
4  * The IPPL Framework
5  *
6  * This program was prepared by PSI.
7  * All rights in the program are reserved by PSI.
8  * Neither PSI nor the author(s)
9  * makes any warranty, express or implied, or assumes any liability or
10  * responsibility for the use of this software
11  *
12  * Visit www.amas.web.psi for more details
13  *
14  ***************************************************************************/
15 
16 // -*- C++ -*-
17 /***************************************************************************
18  *
19  * The IPPL Framework
20  *
21  *
22  * Visit http://people.web.psi.ch/adelmann/ for more details
23  *
24  ***************************************************************************/
25 
26 // include files
27 #include "Utility/DiscParticle.h"
28 #include "Utility/DiscConfig.h"
29 #include "Utility/PAssert.h"
32 #include "Message/Communicate.h"
33 #include "Message/Tags.h"
34 
35 #include "Utility/IpplInfo.h"
36 
37 // debugging macros; MWERKS: put these at top of .h files.
38 
40 // READ METHODS
41 // read the specifed record in the file into the given IpplParticleBase or
42 // ParticleAttrib object, depending on how the DiscParticle was created.
43 // If the method is to read all the IpplParticleBase, this will delete all the
44 // existing particles in the given object, create new ones and store the
45 // values, and then do an update. If an attribute is being read, this
46 // will only work if the number of particles in the attribute already
47 // matches the number in the file.
49 //MWERKS Moved into class definition (.h file).
50 
52 // WRITE METHODS
53 // write the data from the given IpplParticleBase or ParticleAttrib into the
54 // file. Data is appended as a new record, and the meta file is updated.
55 //
57 //MWERKS Moved into class definition (.h file).
58 
59 /***************************************************************************
60  * $RCSfile: DiscParticle.cpp,v $ $Author: adelmann $
61  * $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:33 $
62  * IPPL_VERSION_ID: $Id: DiscParticle.cpp,v 1.1.1.1 2003/01/23 07:40:33 adelmann Exp $
63  ***************************************************************************/
64