Simpatico  v1.10
SystemMove.cpp
1 /*
2 * Simpatico - Simulation Package for Polymeric and Molecular Liquids
3 *
4 * Copyright 2010 - 2017, The Regents of the University of Minnesota
5 * Distributed under the terms of the GNU General Public License.
6 */
7 
8 #include "SystemMove.h"
9 #include <mcMd/mcSimulation/McSystem.h>
10 #include <mcMd/simulation/Simulation.h>
11 
12 namespace McMd
13 {
14 
15  using namespace Util;
16 
17  /*
18  * Constructor
19  */
21  McMove(system.simulation()),
22  systemPtr_(&system),
23  boundaryPtr_(&system.boundary())
24  {
25  isothermalPtr_ = &system.energyEnsemble();
26  }
27 
28  /*
29  * Destructor.
30  */
32  {}
33 
34 }
A System for use in a Markov chain Monte Carlo simulation.
Definition: McSystem.h:52
EnergyEnsemble & energyEnsemble() const
Get the EnergyEnsemble by reference.
Definition: System.h:1095
McMove is an abstract base class for Monte Carlo moves.
Definition: McMove.h:31
Utility classes for scientific computation.
Definition: accumulators.mod:1
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
SystemMove(McSystem &system)
Constructor.
Definition: SystemMove.cpp:20
virtual ~SystemMove()
Destructor.
Definition: SystemMove.cpp:31