sisi4s
Loading...
Searching...
No Matches
CcsdEnergyFromCoulombIntegralsReference.hpp
Go to the documentation of this file.
1#ifndef CCSD_ENERGY_FROM_COULOMB_INTEGRALS_REFERENCE_DEFINED
2#define CCSD_ENERGY_FROM_COULOMB_INTEGRALS_REFERENCE_DEFINED
3
5
6namespace sisi4s {
7// this algorithm is now based on the ClusterSinglesDoublesAlgorithm
8// inheriting its iteration and slicing functionality.
9// Only the abstract (left out) methods getAbbreviation and iterate have
10// to be implemented.
20public:
23 std::vector<Argument> const &argumentList);
25
30 virtual std::string getAbbreviation() { return "Ccsd"; }
31
32 static int64_t constexpr DEFAULT_SLICE_SIZE = -1;
33 static int64_t constexpr DEFAULT_DISTINGUISHABLE = 0;
34
35protected:
41 virtual PTR(FockVector<double>)
42 getResiduum(const int iteration,
43 const PTR(const FockVector<double>) &amplitudes);
45 getResiduum(const int iteration,
46 const PTR(const FockVector<complex>) &amplitudes);
47};
48} // namespace sisi4s
49
50#endif
#define ALGORITHM_REGISTRAR_DECLARATION(NAME)
Auxiliary macro declaring the algorithm registrar for the algorithm type of the given name....
Definition Algorithm.hpp:169
#define PTR(TYPE)
Definition SharedPointer.hpp:8
Implements the iteration routine for the Ccsd method. Calculates the amplitudes and from the Coulom...
Definition CcsdEnergyFromCoulombIntegralsReference.hpp:19
virtual std::shared_ptr< FockVector< double > > getResiduum(const int iteration, const std::shared_ptr< const FockVector< double > > &amplitudes)
Implements the iterate method with the CCSD iteration. Iteration routine taken from So Hirata,...
Definition CcsdEnergyFromCoulombIntegralsReference.cxx:29
static int64_t constexpr DEFAULT_SLICE_SIZE
Definition CcsdEnergyFromCoulombIntegralsReference.hpp:32
static int64_t constexpr DEFAULT_DISTINGUISHABLE
Definition CcsdEnergyFromCoulombIntegralsReference.hpp:33
virtual std::string getAbbreviation()
Returns the abbreviation of the routine (CCSD).
Definition CcsdEnergyFromCoulombIntegralsReference.hpp:30
virtual ~CcsdEnergyFromCoulombIntegralsReference()
Definition CcsdEnergyFromCoulombIntegralsReference.cxx:22
Contains all the necessary tools for an algorithm with singles and doubles amplitudes....
Definition ClusterSinglesDoublesAlgorithm.hpp:22
Represents the direct sum of Tensors and provides the vector space operations of addition,...
Definition FockVector.hpp:26
Definition Algorithm.hpp:10
Complex< real > complex
Definition Complex.hpp:17