Simpatico  v1.10
CfbReptateMove.h
1 #ifndef MCMD_CFB_REPTATE_MOVE_H
2 #define MCMD_CFB_REPTATE_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/linear/CfbLinear.h> // base class
12 #include <mcMd/chemistry/MaskPolicy.h> // member
13 #include <util/containers/DArray.h> // member template
14 #include <util/accumulators/AutoCorr.h>
15 
16 namespace McMd
17 {
18 
19  using namespace Util;
20 
21  class McSystem;
22  class Molecule;
23 
37  class CfbReptateMove : public CfbLinear
38  {
39 
40  public:
41 
45  CfbReptateMove(McSystem& system);
46 
50  virtual void readParameters(std::istream& in);
51 
57  virtual void loadParameters(Serializable::IArchive &ar);
58 
64  virtual void save(Serializable::OArchive &ar);
65 
69  virtual bool move();
70 
74  virtual void output();
75 
76  private:
77 
79  int bondTypeId_;
80 
82  int nJunction_;
83 
85  DArray<int> junctions_;
86 
88  DArray<int> lTypes_;
89 
91  DArray<int> uTypes_;
92 
94  MaskPolicy maskPolicy_;
95 
97  bool hasAutoCorr_;
98 
100  int autoCorrCapacity_;
101 
103  std::string outputFileName_;
104 
106  DArray<AutoCorr<double, double> > accumulators_;
107 
111  double junctionFactor(Molecule* molPtr, int sign);
112 
113  };
114 
115 }
116 #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
Base class for configuration bias (CFB) end regrowth moves.
Definition: CfbLinear.h:39
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).
A physical molecule (a set of covalently bonded Atoms).
Configuration bias reptation move for a Linear species.