33 <<
"Using density filter with no threshold " << std::flush;
36 <<
"Using density filter with threshold " <<
threshold_ << std::flush;
47 Eigen::VectorXd norm = Eigen::VectorXd::Zero(nostates);
48 for (
Index i = 0; i < nostates; i++) {
53 return norm / lastnorm;
std::vector< Index > CalcIndeces(const Orbitals &orb, QMStateType type) const final
void Initialize(const tools::Property &options) final
Eigen::MatrixXd laststate_dmat_
void ReadFromCpt(CheckpointReader &r) final
void UpdateHist(const Orbitals &orb, QMState state) final
Eigen::VectorXd CalculateDNorm(const Orbitals &orb, QMStateType type) const
void WriteToCpt(CheckpointWriter &w) final
void Info(Logger &log) const final
Logger is used for thread-safe output of messages.
Container for molecular orbitals and derived one-particle data.
Eigen::MatrixXd DensityMatrixFull(const QMState &state) const
Index getGWAmin() const
Return the lower GW orbital index.
Index NumberofStates(QMStateType type) const
Return the number of states available for the requested state family.
Identifier for QMstates. Strings like S1 are converted into enum +zero indexed int.
std::vector< Index > ReduceAndSortIndecesDown(const Eigen::VectorXd &overlap, Index offset, double threshold) const
#define XTP_LOG(level, log)
Charge transport classes.
Provides a means for comparing floating point numbers.