Simpatico  v1.10
List of all members | Public Member Functions | Protected Member Functions
McMd::McConfigIo Class Reference

Detailed Description

ConfigIo for MC simulations (no atom velocities).

Definition at line 29 of file McConfigIo.h.

#include <McConfigIo.h>

Inheritance diagram for McMd::McConfigIo:
McMd::McMdConfigIo McMd::ConfigIo

Public Member Functions

 McConfigIo (System &system)
 Constructor. More...
 
virtual ~McConfigIo ()
 Destructor. More...
 
- Public Member Functions inherited from McMd::McMdConfigIo
 McMdConfigIo (System &system)
 Constructor. More...
 
virtual ~McMdConfigIo ()
 Destructor. More...
 
virtual void read (std::istream &in)
 Read configuration (particle positions) from file. More...
 
virtual void write (std::ostream &out)
 Write configuration (particle positions) to file. More...
 
- Public Member Functions inherited from McMd::ConfigIo
 ConfigIo (System &system)
 Constructor. More...
 
virtual ~ConfigIo ()
 Destructor. More...
 

Protected Member Functions

virtual void readAtom (std::istream &out, Atom &atom)
 Read data for one atom. More...
 
virtual void writeAtom (std::ostream &out, const Atom &atom)
 Write data for one atom. More...
 
- Protected Member Functions inherited from McMd::ConfigIo
Systemsystem () const
 Get a reference to the parent System. More...
 
Simulationsimulation () const
 Get a reference to the parent Simulation. More...
 
Boundaryboundary () const
 Get the Boundary. More...
 

Constructor & Destructor Documentation

McMd::McConfigIo::McConfigIo ( System system)

Constructor.

Definition at line 19 of file McConfigIo.cpp.

McMd::McConfigIo::~McConfigIo ( )
virtual

Destructor.

Definition at line 26 of file McConfigIo.cpp.

Member Function Documentation

void McMd::McConfigIo::readAtom ( std::istream &  out,
Atom atom 
)
protectedvirtual

Read data for one atom.

Implements McMd::McMdConfigIo.

Definition at line 32 of file McConfigIo.cpp.

References McMd::ConfigIo::boundary(), McMd::Atom::position(), and Simp::OrthorhombicBoundary::shift().

void McMd::McConfigIo::writeAtom ( std::ostream &  out,
const Atom atom 
)
protectedvirtual

Write data for one atom.

Implements McMd::McMdConfigIo.

Definition at line 41 of file McConfigIo.cpp.

References McMd::Atom::position().


The documentation for this class was generated from the following files: