Simpatico  v1.10
CfbReptationMove.h
1 #ifndef MCMD_CFB_REPTATION_MOVE_H
2 #define MCMD_CFB_REPTATION_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/base/CfbEndBase.h> // base class
12 #include <mcMd/chemistry/MaskPolicy.h> // member
13 #include <util/containers/DArray.h> // members
14 #include <util/accumulators/AutoCorr.h>
15 
16 namespace McMd
17 {
18 
19  using namespace Util;
20 
21  class McSystem;
22  class Molecule;
23 
36  {
37 
38  public:
39 
43  CfbReptationMove(McSystem& system);
44 
48  virtual void readParameters(std::istream& in);
49 
55  virtual void loadParameters(Serializable::IArchive &ar);
56 
62  virtual void save(Serializable::OArchive &ar);
63 
67  virtual bool move();
68 
72  virtual void output();
73 
74  private:
75 
77  int speciesId_;
78 
80  int bondTypeId_;
81 
83  int nJunction_;
84 
86  DArray<int> junctions_;
87 
89  DArray<int> lTypes_;
90 
92  DArray<int> uTypes_;
93 
95  MaskPolicy maskPolicy_;
96 
98  int hasAutoCorr_;
99 
101  int autoCorrCapacity_;
102 
104  std::string outputFileName_;
105 
107  DArray<AutoCorr<double, double> > acceptedStepsAccumulators_;
108 
109  double junctionFactor(Molecule* molPtr, int sign);
110 
111  };
112 
113 }
114 #endif
MaskPolicy
Enumeration of policies for suppressing ("masking") some pair interactions.
A System for use in a Markov chain Monte Carlo simulation.
Definition: McSystem.h:52
Saving / output archive for binary ostream.
Utility classes for scientific computation.
Definition: accumulators.mod:1
Saving archive for binary istream.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
Configuration bias reptation move for a Linear species.
A physical molecule (a set of covalently bonded Atoms).
Base class for configuration bias (CFB) end regrowth moves.
Definition: CfbEndBase.h:31