Simpatico  v1.10
Point.h
1 #ifndef SIMP_POINT_H
2 #define SIMP_POINT_H
3 
4 /*
5 * Simpatico - Simulation Package for Polymeric and Molecular Liquids
6 *
7 * Copyright 2010 - 2017, The Regents of the University of Minnesota
8 * Distributed under the terms of the GNU General Public License.
9 */
10 
11 #include <simp/species/Species.h>
12 #include <util/global.h>
13 
14 namespace Simp
15 {
16 
17  using namespace Util;
18 
24  class Point : public Species
25  {
26 
27  public:
28 
30  Point();
31 
33  virtual ~Point()
34  {}
35 
41  virtual void save(Serializable::OArchive &ar);
42 
43  protected:
44 
48  int type_;
49 
55  virtual void readSpeciesParam(std::istream &in);
56 
62  virtual void loadSpeciesParam(Serializable::IArchive &ar);
63 
64  };
65 
66 
67 }
68 #endif
File containing preprocessor macros for error handling.
Classes used by all simpatico molecular simulations.
virtual ~Point()
Destructor.
Definition: Point.h:33
Saving / output archive for binary ostream.
virtual void readSpeciesParam(std::istream &in)
Read atom type.
Definition: Point.cpp:29
int type_
Atom type id for all molecules of this species.
Definition: Point.h:48
virtual void loadSpeciesParam(Serializable::IArchive &ar)
Load species structure from an Archive.
Definition: Point.cpp:39
Point()
Default constructor.
Definition: Point.cpp:18
Utility classes for scientific computation.
Definition: accumulators.mod:1
Saving archive for binary istream.
A Species represents a set of chemically similar molecules.
virtual void save(Serializable::OArchive &ar)
Save internal state to an archive.
Definition: Point.cpp:49
A Species in which each Molecule contains only one Atom.
Definition: Point.h:24