50 if (options.
exists(
".mpsfile")) {
55 if (options.
exists(
".guess")) {
62 if (options.
exists(
".moguess")) {
74 log_.setMultithreading(
true);
75 log_.setCommonPreface(
"\n... ...");
82 <<
"Reading guess from " <<
guess_file_ << std::flush;
86 <<
"Reading structure from " <<
xyzfile_ << std::flush;
106 orbitals.
MOs() = moguess_orbitals.
MOs();
123 std::unique_ptr<QMPackage> qmpackage =
126 qmpackage->setLog(&
log_);
128 qmpackage->setRunDir(
".");
135 qmpackage->AddRegion(region);
161 if (summary.
exists(
"output")) {
164 <<
"Writing output to " <<
xml_output_ << std::flush;
165 std::ofstream ofout(
xml_output_, std::ofstream::out);
166 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_
std::string moguess_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 tools::EigenSystem & MOs_beta() const
Return read-only access to beta-spin molecular orbitals.
const AOBasis & getAuxBasis() const
Return the auxiliary AO basis, throwing if it has not been initialized.
Index getNumberOfAlphaElectrons() const
Return the stored number of alpha electrons.
std::string getCalculationType() const
Return the stored calculation-type tag.
void setNumberOfAlphaElectrons(Index electrons)
Store the total number of alpha electrons.
void SetupAuxBasis(std::string aux_basis_name)
void setNumberOfBetaElectrons(Index electrons)
Store the total number of beta electrons.
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.
bool hasBetaMOs() const
Report whether beta-spin molecular orbitals are available.
void SetupDftBasis(std::string basis_name)
Build and attach the DFT AO basis from the stored molecular geometry.
Index getNumberOfBetaElectrons() const
Return the stored number of beta electrons.
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