Simpatico  v1.10
NveIntegrator.h
1 #ifndef DDMD_NVE_INTEGRATOR_H
2 #define DDMD_NVE_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 "TwoStepIntegrator.h" // base class
12 
13 namespace DdMd
14 {
15 
16  class Simulation;
17  using namespace Util;
18 
27  {
28 
29  public:
30 
34  NveIntegrator(Simulation& simulation);
35 
39  ~NveIntegrator();
40 
46  void readParameters(std::istream& in);
47 
53  virtual void loadParameters(Serializable::IArchive &ar);
54 
60  virtual void save(Serializable::OArchive &ar);
61 
62  protected:
63 
69  void setup();
70 
76  virtual void integrateStep1();
77 
83  virtual void integrateStep2();
84 
85  private:
86 
88  double dt_;
89 
91  DArray<double> prefactors_;
92 
93  };
94 
95 }
96 #endif
Parallel domain decomposition (DD) MD simulation.
Main object for a domain-decomposition MD simulation.
Saving / output archive for binary ostream.
Utility classes for scientific computation.
Definition: accumulators.mod:1
A velocity-Verlet constant energy integrator.
Definition: NveIntegrator.h:26
Saving archive for binary istream.
A two-step velocity-Verlet style integrator.