Base class to load simple structure files such as XYZ, AAM, PQR etc.
More...
#include <io.h>
|
|
ParticleVector | particles |
| |
|
Point | box_length = Point::Zero() |
| |
|
std::vector< std::string > | comments |
| |
| bool | prefer_charges_from_file |
| | If applicable, prefer charges from AAM file over AtomData More...
|
| |
|
bool | box_dimension_support = false |
| |
|
bool | particle_charge_support = false |
| |
|
bool | particle_radius_support = false |
| |
|
| void | getNextLine (std::istream &stream, std::string &destination, const std::string &comment_identifiers) |
| | Helper function to forward stream. More...
|
| |
|
void | handleChargeMismatch (Particle &particle, int atom_index) const |
| | Policy if charge mismatch.
|
| |
|
|
size_t | expected_number_of_particles = 0 |
| |
Base class to load simple structure files such as XYZ, AAM, PQR etc.
◆ getNextLine()
| void Faunus::StructureFileReader::getNextLine |
( |
std::istream & |
stream, |
|
|
std::string & |
destination, |
|
|
const std::string & |
comment_identifiers |
|
) |
| |
|
protected |
Helper function to forward stream.
- Parameters
-
| stream | Stream to operate on |
| destination | Destination string for loaded line |
| comment_identifiers | Array of characters used to identify comment lines, e.g. "#", ";" etc. |
- Exceptions
-
If the first character in the loaded line matches any character in comment_identifiers, the line will be ignored and the next will be loaded.
◆ prefer_charges_from_file
| bool Faunus::StructureFileReader::prefer_charges_from_file |
Initial value:
If applicable, prefer charges from AAM file over AtomData
The documentation for this class was generated from the following files: