Simpatico  v1.10
mcMd/mdIntegrators/NvtLangevinIntegrator.h
1 #ifndef MCMD_NVT_LANGEVIN_INTEGRATOR_H
2 #define MCMD_NVT_LANGEVIN_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 McMd
16 {
17 
18  using namespace Util;
19 
38  {
39 
40  public:
41 
48 
52  virtual ~NvtLangevinIntegrator();
53 
59  virtual void readParameters(std::istream &in);
60 
66  virtual void loadParameters(Serializable::IArchive& ar);
67 
73  virtual void save(Serializable::OArchive& ar);
74 
78  virtual void setup();
79 
83  virtual void step();
84 
85  private:
86 
88  DArray<double> prefactors_;
89 
91  DArray<double> cv_;
92 
94  DArray<double> cr_;
95 
97  double gamma_;
98 
99  };
100 
101 }
102 #endif
A NVT molecular dynamics integrator with a Langevin thermostat.
Abstract base for molecular dynamics integrators.
Definition: MdIntegrator.h:30
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 System for Molecular Dynamics simulation.
Definition: MdSystem.h:68