34 spin_ = options.
get(
".spin").
as<std::string>();
40 log_.setMultithreading(
true);
41 log_.setCommonPreface(
"\n... ...");
47 std::vector<QMStateType> types;
62 <<
"QSGW run: fchk contains the QSGW-rotated orbitals and QP energies"
68 const std::string tag =
70 const std::string statefile =
job_name_ +
"_" + tag +
".diabat";
73 <<
"Wrote BSE " << tag <<
" states to " << statefile
74 <<
"\n Diabat input:\n $$statepack\n mofile = \"" <<
job_name_
75 <<
".fchk\"\n statefile = \"" << statefile
76 <<
"\"\n state_index = 1..N\n $$" << std::flush;
Writes BSE excitations in the plain-text electronic-state format read by Diabat 2....
void WriteFile(const std::string &filename, const Orbitals &orbitals, QMStateType type, Index nstates=-1) const
void WriteFile(const std::string &basename, const Orbitals &orbitals, const QMState state=QMState(QMStateType::statetype::Gstate, 0, false), bool diff2gs=false) const
void UseBSEOrbitals(bool flag)
void ParseOptions(const tools::Property &options)
Container for molecular orbitals and derived one-particle data.
void ReadFromCpt(const std::string &filename)
Read the orbital container from a checkpoint file on disk.
#define XTP_LOG(level, log)
Charge transport classes.
Provides a means for comparing floating point numbers.
static Level current_level