Simpatico  v1.10
SliplinkerEnd.h
1 #ifndef SLIPLINKER_END_H
2 #define SLIPLINKER_END_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 SliplinkerEnd : public SystemMove
27  {
28 
29  public:
30 
32  SliplinkerEnd(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  double mu_;
47  int speciesId_;
48 
49  };
50 
51 }
52 
53 #endif
A System for use in a Markov chain Monte Carlo simulation.
Definition: McSystem.h:52
File containing preprocessor macros for error handling.
Move to create and destroy slip-springs.
Definition: SliplinkerEnd.h:26
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).