Langmuir
Simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LangmuirCore::XYZWriter Class Reference

A class to output xyz files. More...

#include <writer.h>

Public Member Functions

 XYZWriter (World &world, const QString &name, QObject *parent=0)
 constructs the writer, has the same parameters as OutputInfo More...
 
void write ()
 Write XYZ of the current step to the stream. More...
 

Protected Member Functions

void writeVMDInitFile ()
 write a VMD script useful for opening the XYZ file More...
 

Protected Attributes

Worldm_world
 reference to the world object More...
 
OutputStream m_stream
 output file stream More...
 

Detailed Description

A class to output xyz files.

Constructor & Destructor Documentation

LangmuirCore::XYZWriter::XYZWriter ( World world,
const QString &  name,
QObject *  parent = 0 
)

constructs the writer, has the same parameters as OutputInfo

Member Function Documentation

void LangmuirCore::XYZWriter::write ( )

Write XYZ of the current step to the stream.

void LangmuirCore::XYZWriter::writeVMDInitFile ( )
protected

write a VMD script useful for opening the XYZ file

Member Data Documentation

OutputStream LangmuirCore::XYZWriter::m_stream
protected

output file stream

World& LangmuirCore::XYZWriter::m_world
protected

reference to the world object


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