25#include <boost/algorithm/string.hpp>
26#include <boost/filesystem.hpp>
27#include <boost/format.hpp>
40 const std::string job_name = options.
get(
"temporary_file").
as<std::string>();
91 std::vector<std::string> cleanup_info =
93 for (
const std::string& substring : cleanup_info) {
94 if (substring ==
"log") {
96 remove(file_name.c_str());
117 }
catch (std::runtime_error& error) {
Electronic ground-state via Density-Functional Theory.
void setExternalcharges(std::vector< std::unique_ptr< StaticSite > > *externalsites)
bool EvaluateTruncatedActiveRegion(Orbitals &trunc_orb)
void setLogger(Logger *pLog)
bool EvaluateActiveRegion(Orbitals &orb)
void Initialize(tools::Property &options)
bool Evaluate(Orbitals &orb)
container for molecular orbitals
double getDFTTotalEnergy() const
void setQMpackage(const std::string &qmpackage)
void ReadFromCpt(const std::string &filename)
void WriteToCpt(const std::string &filename) const
std::string log_file_name_
std::vector< std::unique_ptr< StaticSite > > externalsites_
std::string mo_file_name_
bool ParseLogFile(Orbitals &orbitals) final
void ParseSpecificOptions(const tools::Property &options) final
std::string getPackageName() const final
bool WriteInputFile(const Orbitals &orbitals) final
writes a coordinate file WITHOUT taking into account PBCs
bool ParseMOsFile(Orbitals &orbitals) final
bool RunActiveDFT() final
#define XTP_LOG(level, log)
base class for all analysis tools