Simpatico  v1.10
SliplinkMove.h
1 #ifndef SLIPLINKMOVE_H
2 #define SLIPLINKMOVE_H
3 
4 /*
5 * MolMcD - Monte Carlo and Molecular Dynamics Simulator for Molecular Liquids
6 *
7 * Copyright 2010 - 2014, 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 #include <mcMd/simulation/System.h>
13 #include <mcMd/neighbor/CellList.h>
14 #include <util/global.h>
15 
16 namespace McMd
17 {
18 
19  using namespace Util;
20 
26  class SliplinkMove : public SystemMove
27  {
28 
29  public:
30 
32  SliplinkMove(McSystem& system);
33 
35  virtual void readParameters(std::istream& in);
36 
38  virtual bool move();
39 
40  private:
41 
43  mutable CellList::NeighborArray neighbors_;
44 
45  double cutoff_;
46  int speciesId_;
47 
48  };
49 
50 }
51 
52 #endif
A System for use in a Markov chain Monte Carlo simulation.
Definition: McSystem.h:52
File containing preprocessor macros for error handling.
Utility classes for scientific computation.
Definition: accumulators.mod:1
An McMove that acts on one McSystem.
Definition: SystemMove.h:28
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
Move to evolve the slip-springs.
Definition: SliplinkMove.h:26