Simpatico  v1.10
NvtNhIntegrator.h
1 #ifndef MCMD_NVT_NH_INTEGRATOR_H
2 #define MCMD_NVT_NH_INTEGRATOR_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/mdIntegrators/MdIntegrator.h>
12 
13 #include <iostream>
14 
15 namespace Simp{ class EnergyEnsemble; }
16 
17 namespace McMd
18 {
19 
20  using namespace Util;
21  using namespace Simp;
22 
39  {
40 
41  public:
42 
48  NvtNhIntegrator(MdSystem& system);
49 
53  virtual ~NvtNhIntegrator();
54 
60  virtual void readParameters(std::istream &in);
61 
67  virtual void loadParameters(Serializable::IArchive& ar);
68 
74  virtual void save(Serializable::OArchive& ar);
75 
82  virtual void setup();
83 
87  virtual void step();
88 
89  private:
90 
92  DArray<double> prefactors_;
93 
95  double T_target_;
96 
98  double T_kinetic_;
99 
101  double xi_;
102 
104  double xiDot_;
105 
107  double tauT_;
108 
110  double nuT_;
111 
113  EnergyEnsemble* energyEnsemblePtr_;
114 
115  };
116 
117 }
118 #endif
Classes used by all simpatico molecular simulations.
Abstract base for molecular dynamics integrators.
Definition: MdIntegrator.h:30
Saving / output archive for binary ostream.
A statistical ensemble for energy.
Utility classes for scientific computation.
Definition: accumulators.mod:1
Saving archive for binary istream.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
A Nose-Hoover NVT molecular dynamics integrator.
A System for Molecular Dynamics simulation.
Definition: MdSystem.h:68