7 #ifndef SPARROW_CISSIGMAVECTOREVALUATOR_H
8 #define SPARROW_CISSIGMAVECTOREVALUATOR_H
16 #include <Eigen/Sparse>
21 template<Utils::Reference restrictedness>
22 class CISMatrixAOFockBuilderBase;
52 template<Utils::Reference restrictedness>
62 const std::vector<std::multimap<
double,
int, std::greater<double>>>& integralsThresholds,
63 std::vector<int> orderMap,
64 Utils::SpinTransition spinBlock = Utils::SpinTransition::Singlet);
76 const Eigen::MatrixXd&
evaluate(
const Eigen::MatrixXd& guessVectors)
const final;
79 std::map<int, std::vector<int>>
84 void collapsed(
int newSubspaceDimension)
final;
85 mutable Eigen::MatrixXd currentSigmaMatrix_;
87 std::shared_ptr<CISMatrixAOFockBuilderBase<restrictedness>> aoFockBuilder_;
89 Utils::SpinTransition spinBlock_{Utils::SpinTransition::Singlet};
90 std::shared_ptr<CISPseudoDensityBuilder<restrictedness>> pseudoDensityBuilder_;
91 std::shared_ptr<Utils::SpinAdaptedContainer<restrictedness, Eigen::MatrixXd>> occupiedOrbitals_;
92 std::shared_ptr<Utils::SpinAdaptedContainer<restrictedness, Eigen::MatrixXd>> virtualOrbitals_;
93 const std::vector<std::multimap<double, int, std::greater<double>>>& integralsThresholds_;
94 std::vector<int> orderMap_;
99 #endif // SPARROW_CISSIGMAVECTOREVALUATOR_H
CISSigmaVectorEvaluator(CISData cisData, const ExcitedStatesParam &excitedStatesParam, const Utils::SpinAdaptedContainer< restrictedness, Eigen::VectorXd > &energyDifferenceVector, const std::vector< std::multimap< double, int, std::greater< double >>> &integralsThresholds, std::vector< int > orderMap, Utils::SpinTransition spinBlock=Utils::SpinTransition::Singlet)
Constructor: sets the cisData_ variable and calculates the energy difference-vector generation in the...
Definition: CISSigmaVectorEvaluator.cpp:16
const Eigen::MatrixXd & evaluate(const Eigen::MatrixXd &guessVectors) const final
Evaluates the sigma vectors in a loop over all new guess vectors and inserts them in the currentSigma...
Definition: TimeDependentUtils.h:22
Definition: CISSigmaVectorEvaluator.h:53
This class contains the infos needed to perform a CIS calculation. This way excited states properties...
Definition: CISData.h:24
~CISSigmaVectorEvaluator() final
Destructor.