ESyS-Particle  4.0.1
ShortBondedInteractionCpData.h
00001 
00002 //                                                         //
00003 // Copyright (c) 2003-2011 by The University of Queensland //
00004 // Earth Systems Science Computational Centre (ESSCC)      //
00005 // http://www.uq.edu.au/esscc                              //
00006 //                                                         //
00007 // Primary Business: Brisbane, Queensland, Australia       //
00008 // Licensed under the Open Software License version 3.0    //
00009 // http://www.opensource.org/licenses/osl-3.0.php          //
00010 //                                                         //
00012 
00013 #ifndef __SHORTBONDEDINTERACTIONCPDATA_H
00014 #define __SHORTBONDEDINTERACTIONCPDATA_H
00015 
00016 // --- Project includes ---
00017 #include "Model/BondedInteractionCpData.h"
00018 
00019 // --- IO includes ---
00020 #include <iostream>
00021 
00022 using std::istream;
00023 using std::ostream;
00024 
00025 class CShortBondedInteraction;
00026 
00030 class  ShortBondedInteractionCpData : public BondedInteractionCpData
00031 {
00032  private:
00033   double m_r0;
00034   
00035  public:
00036   ShortBondedInteractionCpData();
00037   ShortBondedInteractionCpData(int,int,int,double);
00038   ShortBondedInteractionCpData(const CShortBondedInteraction&);
00039 
00040   virtual ~ShortBondedInteractionCpData(){}
00041   
00042   virtual void saveCheckPointData(ostream&);
00043   virtual void loadCheckPointData(istream&);
00044 };
00045 #endif // __SHORTBONDEDINTERACTIONCPDATA_H