ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
The ASCIIReader reads in phasespace information using ls1-MarDyn's (old) ASCII input file format. More...
#include <ASCIIReader.h>
Public Member Functions | |
void | readXML (XMLfileUnits &xmlconfig) |
void | setPhaseSpaceFile (std::string filename) |
Set the phase space file to be read. More... | |
void | setPhaseSpaceHeaderFile (std::string filename) |
For this class, header and data are in the same file, so there is no separate header file. | |
void | readPhaseSpaceHeader (Domain *domain, double timestep) |
reads in header of the input file (including component description) More... | |
unsigned long | readPhaseSpace (ParticleContainer *particleContainer, Domain *domain, DomainDecompBase *domainDecomp) |
reads in the data of all molecules More... | |
The ASCIIReader reads in phasespace information using ls1-MarDyn's (old) ASCII input file format.
|
virtual |
reads in the data of all molecules
The Molecule Data starts in a new line with the string "MoleculeFormat" followed by whitespace and a string representing the format. In the standard case (format ICRVQD), the following values are provided for each molecule:
particleContainer | Here the Molecules from the input file are stored |
Implements InputBase.
|
virtual |
reads in header of the input file (including component description)
The Header in the input file consists of several elements. An element starts in a new line with the element name followed by some whitespace (e.g. "Temperature "). After that, there can be any number of tokens belonging to that element. A description of the different elements follows below. But first some rules dealing with the order of the elements:
Now the description of the different elements:
Implements InputBase.
|
virtual |
Reimplemented from InputBase.
void ASCIIReader::setPhaseSpaceFile | ( | std::string | filename | ) |
Set the phase space file to be read.
filename | full path to the phase space file |