Simpatico  v1.10
LogProgress.h
1 #ifndef MCMD_LOG_PROGRESS_H
2 #define MCMD_LOG_PROGRESS_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/analyzers/Analyzer.h>
12 
13 namespace McMd
14 {
15 
16  using namespace Util;
17 
23  class LogProgress : public Analyzer
24  {
25 
26  public:
27 
31  LogProgress();
32 
38  virtual void readParameters(std::istream& in);
39 
45  virtual void loadParameters(Serializable::IArchive& ar);
46 
47  // using Analyzer::save() and Analyzer::serializable().
48 
54  void sample(long iStep);
55 
56  };
57 
58 }
59 #endif
Abstract base for periodic output and/or analysis actions.
Periodically write step number to a Log file.
Definition: LogProgress.h:23
Utility classes for scientific computation.
Definition: accumulators.mod:1
Saving archive for binary istream.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).