votca 2024.2-dev
|
container for molecular orbitals More...
#include <orbitals.h>
Public Member Functions | |
Orbitals () | |
bool | hasBasisSetSize () const |
void | setEmbeddedMOs (tools::EigenSystem &system) |
const tools::EigenSystem & | getEmbeddedMOs () const |
void | setTruncMOsFullBasis (const Eigen::MatrixXd &expandedMOs) |
const Eigen::MatrixXd | getTruncMOsFullBasis () const |
Index | getBasisSetSize () const |
Index | getLumo () const |
Index | getHomo () const |
bool | hasNumberOfLevels () const |
bool | hasNumberOfLevelsBeta () const |
void | setNumberOfOccupiedLevels (Index occupied_levels) |
void | setNumberOfOccupiedLevelsBeta (Index occupied_levels_beta) |
bool | hasNumberOfAlphaElectrons () const |
bool | hasNumberOfBetaElectrons () const |
Index | getNumberOfAlphaElectrons () const |
Index | getNumberOfBetaElectrons () const |
void | setNumberOfAlphaElectrons (Index electrons) |
void | setNumberOfBetaElectrons (Index electrons) |
bool | hasECPName () const |
const std::string & | getECPName () const |
void | setECPName (const std::string &ECP) |
bool | hasQMpackage () const |
const std::string & | getQMpackage () const |
void | setQMpackage (const std::string &qmpackage) |
bool | hasMOs () const |
bool | hasBetaMOs () const |
const tools::EigenSystem & | MOs () const |
tools::EigenSystem & | MOs () |
const Eigen::MatrixXd & | Occupations () const |
Eigen::MatrixXd & | Occupations () |
const tools::EigenSystem & | MOs_beta () const |
tools::EigenSystem & | MOs_beta () |
std::vector< Index > | CheckDegeneracy (Index level, double energy_difference) const |
Index | NumberofStates (QMStateType type) const |
void | setCalculationType (std::string CalcType) |
std::string | getCalculationType () const |
void | setChargeAndSpin (Index charge, Index spin) |
Index | getSpin () const |
Index | getCharge () const |
bool | isOpenShell () const |
bool | hasQMAtoms () const |
const QMMolecule & | QMAtoms () const |
QMMolecule & | QMAtoms () |
void | updateAtomPostion (Index atom_index, Eigen::Vector3d new_position) |
void | setXCFunctionalName (std::string functionalname) |
const std::string & | getXCFunctionalName () const |
void | setXCGrid (std::string grid) |
const std::string & | getXCGrid () const |
bool | hasQMEnergy () const |
double | getDFTTotalEnergy () const |
void | setQMEnergy (double qmenergy) |
bool | hasDFTbasisName () const |
const std::string & | getDFTbasisName () const |
void | SetupDftBasis (std::string basis_name) |
void | SetupAuxBasis (std::string aux_basis_name) |
const AOBasis & | getDftBasis () const |
const AOBasis & | getAuxBasis () const |
bool | hasAuxbasisName () const |
const std::string | getAuxbasisName () const |
bool | hasGWAindices () const |
void | setGWindices (Index qpmin, Index qpmax) |
Index | getGWAmin () const |
Index | getGWAmax () const |
bool | hasRPAindices () const |
void | setRPAindices (Index rpamin, Index rpamax) |
Index | getRPAmin () const |
Index | getRPAmax () const |
void | setTDAApprox (bool usedTDA) |
bool | getTDAApprox () const |
bool | hasBSEindices () const |
void | setBSEindices (Index vmin, Index cmax) |
Index | getBSEvmin () const |
Index | getBSEvmax () const |
Index | getBSEcmin () const |
Index | getBSEcmax () const |
double | getScaHFX () const |
void | setScaHFX (double ScaHFX) |
bool | hasRPAInputEnergies () const |
const Eigen::VectorXd & | RPAInputEnergies () const |
Eigen::VectorXd & | RPAInputEnergies () |
bool | hasQPpert () const |
const Eigen::VectorXd & | QPpertEnergies () const |
Eigen::VectorXd & | QPpertEnergies () |
bool | hasQPdiag () const |
const tools::EigenSystem & | QPdiag () const |
tools::EigenSystem & | QPdiag () |
bool | hasBSETriplets () const |
const tools::EigenSystem & | BSETriplets () const |
tools::EigenSystem & | BSETriplets () |
bool | hasBSESinglets () const |
const tools::EigenSystem & | BSESinglets () const |
tools::EigenSystem & | BSESinglets () |
bool | hasBSESinglets_dynamic () const |
const Eigen::VectorXd & | BSESinglets_dynamic () const |
Eigen::VectorXd & | BSESinglets_dynamic () |
bool | hasBSETriplets_dynamic () const |
const Eigen::VectorXd & | BSETriplets_dynamic () const |
Eigen::VectorXd & | BSETriplets_dynamic () |
bool | hasTransitionDipoles () const |
const std::vector< Eigen::Vector3d > & | TransitionDipoles () const |
Eigen::VectorXd | Oscillatorstrengths () const |
Eigen::Vector3d | CalcElDipole (const QMState &state) const |
Eigen::MatrixXd | DensityMatrixFull (const QMState &state) const |
Eigen::MatrixXd | DensityMatrixWithoutGS (const QMState &state) const |
Eigen::MatrixXd | DensityMatrixGroundState () const |
std::array< Eigen::MatrixXd, 2 > | DensityMatrixExcitedState (const QMState &state) const |
Eigen::MatrixXd | DensityMatrixQuasiParticle (const QMState &state) const |
Eigen::MatrixXd | DensityMatrixKSstate (const QMState &state) const |
Eigen::MatrixXd | CalculateQParticleAORepresentation () const |
double | getTotalStateEnergy (const QMState &state) const |
double | getExcitedStateEnergy (const QMState &state) const |
void | OrderMOsbyEnergy () |
void | PrepareDimerGuess (const Orbitals &orbitalsA, const Orbitals &orbitalsB) |
Guess for a dimer based on monomer orbitals. | |
void | CalcCoupledTransition_Dipoles () |
void | WriteToCpt (const std::string &filename) const |
void | ReadFromCpt (const std::string &filename) |
void | WriteToCpt (CheckpointWriter w) const |
void | WriteBasisSetsToCpt (CheckpointWriter w) const |
void | ReadFromCpt (CheckpointReader r) |
void | ReadBasisSetsFromCpt (CheckpointReader r) |
bool | GetFlagUseHqpOffdiag () const |
void | SetFlagUseHqpOffdiag (bool flag) |
const Eigen::MatrixXd & | getLMOs () const |
void | setLMOs (const Eigen::MatrixXd &matrix) |
const Eigen::VectorXd & | getLMOs_energies () const |
void | setLMOs_energies (const Eigen::VectorXd &energies) |
Index | getNumOfActiveElectrons () |
void | setNumofActiveElectrons (const Index active_electrons) |
const Eigen::MatrixXd & | getInactiveDensity () const |
void | setInactiveDensity (Eigen::MatrixXd inactivedensity) |
Private Member Functions | |
std::array< Eigen::MatrixXd, 3 > | CalcFreeTransition_Dipoles () const |
std::vector< Index > | SortEnergies () |
void | WriteToCpt (CheckpointFile f) const |
void | ReadFromCpt (CheckpointFile f) |
Eigen::MatrixXd | TransitionDensityMatrix (const QMState &state) const |
std::array< Eigen::MatrixXd, 2 > | DensityMatrixExcitedState_R (const QMState &state) const |
std::array< Eigen::MatrixXd, 2 > | DensityMatrixExcitedState_AR (const QMState &state) const |
Eigen::MatrixXd | CalcAuxMat_cc (const Eigen::VectorXd &coeffs) const |
Eigen::MatrixXd | CalcAuxMat_vv (const Eigen::VectorXd &coeffs) const |
Static Private Member Functions | |
static constexpr int | orbitals_version () |
container for molecular orbitals
The Orbitals class stores orbital id, energy, MO coefficients, basis set
Definition at line 46 of file orbitals.h.
votca::xtp::Orbitals::Orbitals | ( | ) |
Definition at line 37 of file orbitals.cc.
|
inline |
Definition at line 336 of file orbitals.h.
|
inline |
Definition at line 334 of file orbitals.h.
|
inline |
Definition at line 347 of file orbitals.h.
|
inline |
Definition at line 343 of file orbitals.h.
|
inline |
Definition at line 326 of file orbitals.h.
|
inline |
Definition at line 324 of file orbitals.h.
|
inline |
Definition at line 359 of file orbitals.h.
|
inline |
Definition at line 355 of file orbitals.h.
|
private |
Definition at line 369 of file orbitals.cc.
|
private |
Definition at line 363 of file orbitals.cc.
void votca::xtp::Orbitals::CalcCoupledTransition_Dipoles | ( | ) |
Definition at line 526 of file orbitals.cc.
Eigen::Vector3d votca::xtp::Orbitals::CalcElDipole | ( | const QMState & | state | ) | const |
Definition at line 242 of file orbitals.cc.
|
private |
Definition at line 508 of file orbitals.cc.
Eigen::MatrixXd votca::xtp::Orbitals::CalculateQParticleAORepresentation | ( | ) | const |
Definition at line 217 of file orbitals.cc.
std::vector< Index > votca::xtp::Orbitals::CheckDegeneracy | ( | Index | level, |
double | energy_difference ) const |
level | Index of the level that is to be checked for degeneracy |
energy_difference | [ev] Two levels are degenerate if their energy is smaller than this value |
Definition at line 47 of file orbitals.cc.
std::array< Eigen::MatrixXd, 2 > votca::xtp::Orbitals::DensityMatrixExcitedState | ( | const QMState & | state | ) | const |
Definition at line 302 of file orbitals.cc.
|
private |
Definition at line 375 of file orbitals.cc.
|
private |
Definition at line 320 of file orbitals.cc.
Eigen::MatrixXd votca::xtp::Orbitals::DensityMatrixFull | ( | const QMState & | state | ) | const |
Definition at line 140 of file orbitals.cc.
Eigen::MatrixXd votca::xtp::Orbitals::DensityMatrixGroundState | ( | ) | const |
Definition at line 183 of file orbitals.cc.
Eigen::MatrixXd votca::xtp::Orbitals::DensityMatrixKSstate | ( | const QMState & | state | ) | const |
Definition at line 199 of file orbitals.cc.
Eigen::MatrixXd votca::xtp::Orbitals::DensityMatrixQuasiParticle | ( | const QMState & | state | ) | const |
Definition at line 226 of file orbitals.cc.
Eigen::MatrixXd votca::xtp::Orbitals::DensityMatrixWithoutGS | ( | const QMState & | state | ) | const |
Definition at line 112 of file orbitals.cc.
|
inline |
Definition at line 218 of file orbitals.h.
|
inline |
Definition at line 238 of file orbitals.h.
|
inline |
Definition at line 64 of file orbitals.h.
|
inline |
Definition at line 290 of file orbitals.h.
|
inline |
Definition at line 288 of file orbitals.h.
|
inline |
Definition at line 286 of file orbitals.h.
|
inline |
Definition at line 284 of file orbitals.h.
|
inline |
Definition at line 159 of file orbitals.h.
|
inline |
Definition at line 167 of file orbitals.h.
|
inline |
Definition at line 208 of file orbitals.h.
|
inline |
Definition at line 202 of file orbitals.h.
|
inline |
Definition at line 193 of file orbitals.h.
|
inline |
Definition at line 104 of file orbitals.h.
|
inline |
Definition at line 56 of file orbitals.h.
double votca::xtp::Orbitals::getExcitedStateEnergy | ( | const QMState & | state | ) | const |
Definition at line 451 of file orbitals.cc.
|
inline |
Definition at line 408 of file orbitals.h.
|
inline |
Definition at line 251 of file orbitals.h.
|
inline |
Definition at line 249 of file orbitals.h.
|
inline |
Definition at line 68 of file orbitals.h.
|
inline |
Definition at line 424 of file orbitals.h.
|
inline |
Definition at line 411 of file orbitals.h.
|
inline |
Definition at line 414 of file orbitals.h.
|
inline |
Definition at line 66 of file orbitals.h.
|
inline |
Definition at line 93 of file orbitals.h.
|
inline |
Definition at line 94 of file orbitals.h.
|
inline |
Definition at line 419 of file orbitals.h.
|
inline |
Definition at line 112 of file orbitals.h.
|
inline |
Definition at line 264 of file orbitals.h.
|
inline |
Definition at line 262 of file orbitals.h.
|
inline |
Definition at line 292 of file orbitals.h.
|
inline |
Definition at line 166 of file orbitals.h.
|
inline |
Definition at line 269 of file orbitals.h.
double votca::xtp::Orbitals::getTotalStateEnergy | ( | const QMState & | state | ) | const |
Definition at line 442 of file orbitals.cc.
|
inline |
Definition at line 62 of file orbitals.h.
|
inline |
Definition at line 185 of file orbitals.h.
|
inline |
Definition at line 188 of file orbitals.h.
|
inline |
Definition at line 234 of file orbitals.h.
|
inline |
Definition at line 50 of file orbitals.h.
|
inline |
Definition at line 118 of file orbitals.h.
|
inline |
Definition at line 271 of file orbitals.h.
|
inline |
Definition at line 330 of file orbitals.h.
|
inline |
Definition at line 339 of file orbitals.h.
|
inline |
Definition at line 320 of file orbitals.h.
|
inline |
Definition at line 351 of file orbitals.h.
|
inline |
Definition at line 198 of file orbitals.h.
|
inline |
Definition at line 102 of file orbitals.h.
|
inline |
Definition at line 242 of file orbitals.h.
|
inline |
Definition at line 117 of file orbitals.h.
|
inline |
Definition at line 86 of file orbitals.h.
|
inline |
Definition at line 89 of file orbitals.h.
|
inline |
Definition at line 71 of file orbitals.h.
|
inline |
Definition at line 74 of file orbitals.h.
|
inline |
Definition at line 170 of file orbitals.h.
|
inline |
Definition at line 191 of file orbitals.h.
|
inline |
Definition at line 110 of file orbitals.h.
|
inline |
Definition at line 314 of file orbitals.h.
|
inline |
Definition at line 304 of file orbitals.h.
|
inline |
Definition at line 255 of file orbitals.h.
|
inline |
Definition at line 297 of file orbitals.h.
|
inline |
Definition at line 365 of file orbitals.h.
|
inline |
Definition at line 168 of file orbitals.h.
|
inline |
Definition at line 123 of file orbitals.h.
|
inline |
Definition at line 122 of file orbitals.h.
|
inline |
Definition at line 129 of file orbitals.h.
|
inline |
Definition at line 128 of file orbitals.h.
|
inline |
Definition at line 135 of file orbitals.h.
|
inline |
Definition at line 126 of file orbitals.h.
|
inline |
Definition at line 125 of file orbitals.h.
|
inlinestaticconstexprprivate |
Definition at line 519 of file orbitals.h.
void votca::xtp::Orbitals::OrderMOsbyEnergy | ( | ) |
Definition at line 552 of file orbitals.cc.
Eigen::VectorXd votca::xtp::Orbitals::Oscillatorstrengths | ( | ) | const |
Definition at line 428 of file orbitals.cc.
void votca::xtp::Orbitals::PrepareDimerGuess | ( | const Orbitals & | orbitalsA, |
const Orbitals & | orbitalsB ) |
Guess for a dimer based on monomer orbitals.
Given two monomer orbitals (A and B) constructs a guess for dimer orbitals: | A 0 | and energies: [EA, EB] | 0 B |
Definition at line 571 of file orbitals.cc.
|
inline |
Definition at line 174 of file orbitals.h.
|
inline |
Definition at line 172 of file orbitals.h.
|
inline |
Definition at line 318 of file orbitals.h.
|
inline |
Definition at line 317 of file orbitals.h.
|
inline |
Definition at line 310 of file orbitals.h.
|
inline |
Definition at line 308 of file orbitals.h.
void votca::xtp::Orbitals::ReadBasisSetsFromCpt | ( | CheckpointReader | r | ) |
Definition at line 703 of file orbitals.cc.
|
private |
Definition at line 697 of file orbitals.cc.
void votca::xtp::Orbitals::ReadFromCpt | ( | CheckpointReader | r | ) |
Definition at line 710 of file orbitals.cc.
void votca::xtp::Orbitals::ReadFromCpt | ( | const std::string & | filename | ) |
Definition at line 692 of file orbitals.cc.
|
inline |
Definition at line 301 of file orbitals.h.
|
inline |
Definition at line 299 of file orbitals.h.
Definition at line 273 of file orbitals.h.
|
inline |
Definition at line 158 of file orbitals.h.
Definition at line 161 of file orbitals.h.
|
inline |
Definition at line 106 of file orbitals.h.
|
inline |
Definition at line 54 of file orbitals.h.
|
inline |
Definition at line 409 of file orbitals.h.
Definition at line 244 of file orbitals.h.
|
inline |
Definition at line 425 of file orbitals.h.
|
inline |
Definition at line 412 of file orbitals.h.
|
inline |
Definition at line 415 of file orbitals.h.
|
inline |
Definition at line 96 of file orbitals.h.
|
inline |
Definition at line 99 of file orbitals.h.
|
inline |
Definition at line 78 of file orbitals.h.
|
inline |
Definition at line 81 of file orbitals.h.
|
inline |
Definition at line 420 of file orbitals.h.
|
inline |
Definition at line 195 of file orbitals.h.
|
inline |
Definition at line 114 of file orbitals.h.
Definition at line 257 of file orbitals.h.
|
inline |
Definition at line 294 of file orbitals.h.
|
inline |
Definition at line 268 of file orbitals.h.
|
inline |
Definition at line 58 of file orbitals.h.
void votca::xtp::Orbitals::SetupAuxBasis | ( | std::string | aux_basis_name | ) |
Definition at line 99 of file orbitals.cc.
void votca::xtp::Orbitals::SetupDftBasis | ( | std::string | basis_name | ) |
SetupDftBasis constructs the dft basis, to do this the overlap integral needs to be evaluated with libint. Hence libint should be initialized for it to work.
Definition at line 90 of file orbitals.cc.
|
inline |
Definition at line 182 of file orbitals.h.
|
inline |
Definition at line 187 of file orbitals.h.
|
private |
Definition at line 72 of file orbitals.cc.
|
private |
Definition at line 262 of file orbitals.cc.
|
inline |
Definition at line 369 of file orbitals.h.
|
inline |
Definition at line 176 of file orbitals.h.
void votca::xtp::Orbitals::WriteBasisSetsToCpt | ( | CheckpointWriter | w | ) | const |
Definition at line 626 of file orbitals.cc.
|
private |
Definition at line 620 of file orbitals.cc.
void votca::xtp::Orbitals::WriteToCpt | ( | CheckpointWriter | w | ) | const |
Definition at line 633 of file orbitals.cc.
void votca::xtp::Orbitals::WriteToCpt | ( | const std::string & | filename | ) | const |
Definition at line 615 of file orbitals.cc.
|
private |
Definition at line 463 of file orbitals.h.
|
private |
Definition at line 467 of file orbitals.h.
|
private |
Definition at line 470 of file orbitals.h.
|
private |
Definition at line 486 of file orbitals.h.
|
private |
Definition at line 485 of file orbitals.h.
|
private |
Definition at line 489 of file orbitals.h.
|
private |
Definition at line 504 of file orbitals.h.
|
private |
Definition at line 509 of file orbitals.h.
|
private |
Definition at line 487 of file orbitals.h.
|
private |
Definition at line 506 of file orbitals.h.
|
private |
Definition at line 510 of file orbitals.h.
|
private |
Definition at line 484 of file orbitals.h.
|
private |
Definition at line 483 of file orbitals.h.
|
private |
Definition at line 488 of file orbitals.h.
|
private |
Definition at line 453 of file orbitals.h.
|
private |
Definition at line 469 of file orbitals.h.
|
private |
Definition at line 450 of file orbitals.h.
|
private |
Definition at line 465 of file orbitals.h.
|
private |
Definition at line 493 of file orbitals.h.
|
private |
Definition at line 494 of file orbitals.h.
|
private |
Definition at line 464 of file orbitals.h.
|
private |
Definition at line 461 of file orbitals.h.
|
private |
Definition at line 462 of file orbitals.h.
|
private |
Definition at line 455 of file orbitals.h.
|
private |
Definition at line 456 of file orbitals.h.
|
private |
Definition at line 459 of file orbitals.h.
|
private |
Definition at line 448 of file orbitals.h.
|
private |
Definition at line 449 of file orbitals.h.
|
private |
Definition at line 457 of file orbitals.h.
|
private |
Definition at line 446 of file orbitals.h.
|
private |
Definition at line 447 of file orbitals.h.
|
private |
Definition at line 472 of file orbitals.h.
|
private |
Definition at line 495 of file orbitals.h.
|
private |
Definition at line 502 of file orbitals.h.
|
private |
Definition at line 482 of file orbitals.h.
|
private |
Definition at line 481 of file orbitals.h.
|
private |
Definition at line 499 of file orbitals.h.
|
private |
Definition at line 497 of file orbitals.h.
|
private |
Definition at line 479 of file orbitals.h.
|
private |
Definition at line 478 of file orbitals.h.
|
private |
Definition at line 491 of file orbitals.h.
|
private |
Definition at line 474 of file orbitals.h.
|
private |
Definition at line 475 of file orbitals.h.
|
private |
Definition at line 505 of file orbitals.h.
|
private |
Definition at line 512 of file orbitals.h.
|
private |
Definition at line 451 of file orbitals.h.