src/Utility/DiscParticle.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 /***************************************************************************
00003  *
00004  * The IPPL Framework
00005  * 
00006  * This program was prepared by PSI. 
00007  * All rights in the program are reserved by PSI.
00008  * Neither PSI nor the author(s)
00009  * makes any warranty, express or implied, or assumes any liability or
00010  * responsibility for the use of this software
00011  *
00012  * Visit http://www.acl.lanl.gov/POOMS for more details
00013  *
00014  ***************************************************************************/
00015 
00016 // -*- C++ -*-
00017 /***************************************************************************
00018  *
00019  * The IPPL Framework
00020  * 
00021  *
00022  * Visit http://people.web.psi.ch/adelmann/ for more details
00023  *
00024  ***************************************************************************/
00025 
00026 // include files
00027 #include "Utility/DiscParticle.h"
00028 #include "Utility/DiscConfig.h"
00029 #include "Utility/PAssert.h"
00030 #include "Particle/ParticleBase.h"
00031 #include "Particle/ParticleAttrib.h"
00032 #include "Message/Communicate.h"
00033 #include "Message/Tags.h"
00034 #include "Profile/Profiler.h"
00035 #include "Utility/IpplInfo.h"
00036 
00037 // debugging macros; MWERKS: put these at top of .h files.
00038 
00040 //                           READ METHODS
00041 // read the specifed record in the file into the given ParticleBase or
00042 // ParticleAttrib object, depending on how the DiscParticle was created.
00043 // If the method is to read all the ParticleBase, this will delete all the
00044 // existing particles in the given object, create new ones and store the
00045 // values, and then do an update.  If an attribute is being read, this
00046 // will only work if the number of particles in the attribute already
00047 // matches the number in the file.
00049 //MWERKS Moved into class definition (.h file).
00050 
00052 //                           WRITE METHODS
00053 // write the data from the given ParticleBase or ParticleAttrib into the
00054 // file.  Data is appended as a new record, and the meta file is updated.
00055 //
00057 //MWERKS Moved into class definition (.h file).
00058 
00059 /***************************************************************************
00060  * $RCSfile: DiscParticle.cpp,v $   $Author: adelmann $
00061  * $Revision: 1.1.1.1 $   $Date: 2003/01/23 07:40:33 $
00062  * IPPL_VERSION_ID: $Id: DiscParticle.cpp,v 1.1.1.1 2003/01/23 07:40:33 adelmann Exp $ 
00063  ***************************************************************************/
00064 

Generated on Mon Jan 16 13:23:58 2006 for IPPL by  doxygen 1.4.6