50 if (options.
exists(
".mpsfile")) {
55 if (options.
exists(
".guess")) {
67 log_.setMultithreading(
true);
68 log_.setCommonPreface(
"\n... ...");
75 <<
"Reading guess from " <<
guess_file_ << std::flush;
79 <<
"Reading structure from " <<
xyzfile_ << std::flush;
83 std::unique_ptr<QMPackage> qmpackage =
86 qmpackage->setLog(&
log_);
88 qmpackage->setRunDir(
".");
95 qmpackage->AddRegion(region);
121 if (summary.
exists(
"output")) {
124 <<
"Writing output to " <<
xml_output_ << std::flush;
125 std::ofstream ofout(
xml_output_, std::ofstream::out);
126 ofout << (summary.
get(
"output"));
const std::string & Name() const
void LoadFromFile(std::string filename)
void ParseOptions(const tools::Property &user_options)
tools::Property package_options_
std::string archive_file_
tools::Property gwbseengine_options_
Electronic Excitations via Density-Functional Theory.
void ExcitationEnergies(Orbitals &orbitals)
const tools::Property & ReportSummary() const
void setLog(Logger *pLog)
void setQMPackage(QMPackage *qmpackage)
void Initialize(tools::Property &options, std::string archive_filename)
void push_back(const T &seg)
Container for molecular orbitals and derived one-particle data.
const Eigen::MatrixXd getTruncMOsFullBasis() const
Return truncated active-region orbitals represented in the full AO basis.
bool hasAuxbasisName() const
Report whether an auxiliary basis-set name has been stored.
const AOBasis & getAuxBasis() const
Return the auxiliary AO basis, throwing if it has not been initialized.
std::string getCalculationType() const
Return the stored calculation-type tag.
void SetupAuxBasis(std::string aux_basis_name)
const tools::EigenSystem & MOs() const
Return read-only access to alpha/restricted molecular orbitals.
const QMMolecule & QMAtoms() const
Return read-only access to the molecular geometry.
void ReadFromCpt(const std::string &filename)
Read the orbital container from a checkpoint file on disk.
void WriteToCpt(const std::string &filename) const
Write the orbital container to a checkpoint file on disk.
void SetupDftBasis(std::string basis_name)
Build and attach the DFT AO basis from the stored molecular geometry.
const AOBasis & getDftBasis() const
Return the DFT AO basis, throwing if it has not been initialized.
void LoadFromFile(std::string filename)
#define XTP_LOG(level, log)
Charge transport classes.
ClassicalSegment< StaticSite > StaticSegment
Provides a means for comparing floating point numbers.
static Level current_level