faunus
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Faunus::StructureFileWriter Class Referenceabstract

Base class to writeKeyValuePairs simple structure files such as XYZ, AAM, PQR etc. More...

#include <io.h>

Inheritance diagram for Faunus::StructureFileWriter:
Inheritance graph
[legend]

Public Member Functions

template<std::forward_iterator ParticleIter>
void save (std::ostream &stream, ParticleIter begin, ParticleIter end, const Point &box_length)
 
void save (std::ostream &stream, const RequireGroups auto &groups, const Point &box_length)
 
template<class... Args>
void save (const std::string &filename, const Args &... args)
 

Protected Attributes

bool particle_is_active = true
 
std::string group_name
 
std::size_t particle_index = 0
 
std::size_t group_index = 0
 
Point box_dimensions = Point::Zero()
 

Static Protected Attributes

static const std::string generated_by_faunus_comment
 

Detailed Description

Base class to writeKeyValuePairs simple structure files such as XYZ, AAM, PQR etc.

Member Data Documentation

◆ generated_by_faunus_comment

const std::string Faunus::StructureFileWriter::generated_by_faunus_comment
staticprotected
Initial value:
=
"Generated by Faunus - https://github.com/mlund/faunus"

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