Simpatico  v1.10
HomopolymerSemiGrandMove.h
1 #ifndef MCMD_HOMOPOLYMER_SEMI_GRAND_MOVE_H
2 #define MCMD_HOMOPOLYMER_SEMI_GRAND_MOVE_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 <mcMd/mcMoves/SystemMove.h> // base class
12 
13 namespace McMd
14 {
15 
16  using namespace Util;
17 
18  class HomopolymerSG;
19  class McSystem;
20 
27  {
28 
29  public:
30 
35 
39  virtual void readParameters(std::istream& in);
40 
46  virtual void loadParameters(Serializable::IArchive& ar);
47 
53  virtual void save(Serializable::OArchive& ar);
54 
61  template <class Archive>
62  void serialize(Archive& ar, const unsigned int version);
63 
67  virtual bool move();
68 
69  protected:
70 
73 
76 
77  };
78 
79 }
80 #endif
A System for use in a Markov chain Monte Carlo simulation.
Definition: McSystem.h:52
A Homopolymer with a mutable type, for semigrand ensemble.
Definition: HomopolymerSG.h:30
A move that changes the type of a HomopolymerSG molecule.
void serialize(Archive &ar, PairSelector &selector, const unsigned int version)
Serialize a PairSelector.
Definition: PairSelector.h:167
Saving / output archive for binary ostream.
Utility classes for scientific computation.
Definition: accumulators.mod:1
An McMove that acts on one McSystem.
Definition: SystemMove.h:28
HomopolymerSG * speciesPtr_
Pointer to instance of HomopolymerSG.
Saving archive for binary istream.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
int speciesId_
Integer index for molecular species.