Simpatico  v1.10
mcMd/configIos/DdMdConfigIo.h
1 #ifndef MCMD_DDMD_CONFIG_IO_H
2 #define MCMD_DDMD_CONFIG_IO_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/configIos/ConfigIo.h> // base class
12 #include <simp/boundary/Boundary.h>
13 
14 namespace McMd
15 {
16 
17  class Simulation;
18  class System;
19 
20  using namespace Util;
21  using namespace Simp;
22 
49  class DdMdConfigIo : public ConfigIo
50  {
51 
52  public:
53 
55  DdMdConfigIo(System& system, bool hasMolecules = false);
56 
58  virtual ~DdMdConfigIo();
59 
65  void read(std::istream &in);
66 
72  void write(std::ostream &out);
73 
74  private:
75 
76  bool hasMolecules_;
77 
78  };
79 
80 }
81 #endif
void write(std::ostream &out, Type data)
Function template for output in a standard format.
Definition: write.h:80
ConfigIo for DdMd data files.
A set of interacting Molecules enclosed by a Boundary.
Definition: System.h:115
Classes used by all simpatico molecular simulations.
Utility classes for scientific computation.
Definition: accumulators.mod:1
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
System configuration file reader and writer.