18#ifndef VOTCA_CSG_DLPOLYTOPOLOGYREADER_H
19#define VOTCA_CSG_DLPOLYTOPOLOGYREADER_H
72 std::string
NextKeyline_(std::ifstream &fs,
const char *wspace);
75 std::string
NextKeyInt_(std::ifstream &fs,
const char *wspace,
76 const std::string &word,
Index &ival);
79 bool isKeyInt_(
const std::string &line,
const char *wspace,
80 const std::string &word,
Index &ival);
class for reading dlpoly topology files
const tools::MassUnit mass_unit
const tools::MolarForceUnit force_unit
void setFname(std::string name)
set the topology file name: name.dlpf (convention: ".dlpf"="FIELD")
std::string NextKeyline_(std::ifstream &fs, const char *wspace)
const tools::MolarEnergyUnit molar_energy_unit
const tools::TimeUnit time_unit
const tools::DistanceUnit distance_unit
Set default units.
std::string getFname()
get the topology file name: name.dlpf (convention: ".dlpf"="FIELD")
bool isKeyInt_(const std::string &line, const char *wspace, const std::string &word, Index &ival)
const tools::VelocityUnit velocity_unit
DLPOLYTopologyReader()=default
std::string NextKeyInt_(std::ifstream &fs, const char *wspace, const std::string &word, Index &ival)
bool ReadTopology(std::string file, Topology &top) override
read a topology file
const tools::ChargeUnit charge_unit
topology of the whole system
base class for all analysis tools