OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::RestWriter Class Reference

#include <RestWriter.hpp>

Public Member Functions

 RestWriter (SimInfo *info, const std::string &filename, std::vector< Restraint *> restraints)
 ~RestWriter ()
void writeRest (std::vector< std::map< int, Restraint::RealPair > > restInfo)
void writeClosing (std::ostream &os)

Private Attributes

std::ostream * output_
bool createRestFile_

Detailed Description

Definition at line 62 of file RestWriter.hpp.

Constructor & Destructor Documentation

◆ RestWriter()

OpenMD::RestWriter::RestWriter ( SimInfo info,
const std::string &  filename,
std::vector< Restraint *>  restraints 

◆ ~RestWriter()

OpenMD::RestWriter::~RestWriter ( )

Definition at line 280 of file RestWriter.cpp.

References createRestFile_, output_, worldRank, and writeClosing().

Member Function Documentation

◆ writeClosing()

void OpenMD::RestWriter::writeClosing ( std::ostream &  os)

Definition at line 295 of file RestWriter.cpp.

Referenced by ~RestWriter().

◆ writeRest()

Member Data Documentation

◆ createRestFile_

bool OpenMD::RestWriter::createRestFile_

Definition at line 75 of file RestWriter.hpp.

Referenced by RestWriter(), writeRest(), and ~RestWriter().

◆ info_

SimInfo* OpenMD::RestWriter::info_

Definition at line 73 of file RestWriter.hpp.

Referenced by writeRest().

◆ output_

std::ostream* OpenMD::RestWriter::output_

Definition at line 74 of file RestWriter.hpp.

Referenced by RestWriter(), and ~RestWriter().

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