21#ifndef VOTCA_XTP_MAPCHECKER_H
22#define VOTCA_XTP_MAPCHECKER_H
40 std::string
Identify()
const {
return "mapchecker"; }
83 std::string filename_comp = base +
"_" + state.
ToString() +
"." + fileending;
88 std::cout << std::endl;
90 std::cout <<
"Writing segments to " << filename << std::endl;
103 std::string filename_qm_state =
105 std::cout <<
"Writing qmmolecules to " << filename_qm_state << std::endl;
106 qmwriter.
Open(filename_qm_state,
false);
108 " state:" + state.ToString());
122 std::string filename_mp_state =
124 std::cout <<
"Writing polarsegments to " << filename_mp_state << std::endl;
125 mpwriter.
Open(filename_mp_state,
false);
127 " state:" + state.ToString());
143 std::string filename_comp =
144 base +
"_step_" + std::to_string(step) +
"." + fileending;
145 return filename_comp;
void WriteHeader(std::string header)
void WriteBox(const Eigen::Matrix3d &box)
void WriteContainer(T &container)
void Open(std::string file, bool bAppend=false) override
Logger is used for thread-safe output of messages.
void setReportLevel(Log::Level ReportLevel)
void setCommonPreface(const std::string &preface)
std::string Identify() const
Calculator name.
std::string AddSteptoFilename(const std::string &filename, Index step) const
std::vector< QMState > StringToStates(const std::string &states_string) const
bool WriteToStateFile() const
std::string AddStatetoFilename(const std::string &filename, QMState state) const
std::vector< QMState > qmstates_
std::vector< QMState > mdstates_
bool Evaluate(Topology &top)
void ParseOptions(const tools::Property &user_options)
Identifier for QMstates. Strings like S1 are converted into enum +zero indexed int.
std::string ToString() const
void LoadMappingFile(const std::string &mapfile)
AtomContainer map(const Segment &seg, const SegId &segid) const
Container for segments and box and atoms.
std::vector< Segment > & Segments()
const Eigen::Matrix3d & getBox() const
void WriteToPdb(std::string filename) const
base class for all analysis tools
static Level current_level