sisi4s
Loading...
Searching...
No Matches
DrccdEnergyFromCoulombIntegrals.hpp
Go to the documentation of this file.
1#ifndef DRCCD_ENERGY_FROM_COULOMB_INTEGRALS_DEFINED
2#define DRCCD_ENERGY_FROM_COULOMB_INTEGRALS_DEFINED
3
5
7
8namespace sisi4s {
9// this algorithm is now based on the ClusterSinglesDoublesAlgorithm
10// inheriting its iteration and slicing functionality.
11// Only the abstract (left out) methods getAbbreviation and iterate have
12// to be implemented.
19public:
21 DrccdEnergyFromCoulombIntegrals(std::vector<Argument> const &argumentList);
27 virtual std::string getAbbreviation() { return "Drccd"; }
28
29protected:
34 virtual PTR(FockVector<double>)
35 getResiduum(const int iteration,
36 const PTR(const FockVector<double>) &amplitudes);
37
39 getResiduum(const int iteration,
40 const PTR(const FockVector<complex>) &amplitudes);
41
42 template <typename F>
43 PTR(FockVector<F>) getResiduum(const int iteration,
44 const PTR(const FockVector<F>) &amplitudes);
45};
46} // namespace sisi4s
47
48#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
Contains all the necessary tools for an algorithm with singles and doubles amplitudes....
Definition ClusterSinglesDoublesAlgorithm.hpp:22
Implements the iteration routine for the Drccd method. Calculates the amplitudes from the Coulomb In...
Definition DrccdEnergyFromCoulombIntegrals.hpp:18
virtual ~DrccdEnergyFromCoulombIntegrals()
Definition DrccdEnergyFromCoulombIntegrals.cxx:17
virtual std::string getAbbreviation()
Returns the abbreviation of the routine (DRCCD).
Definition DrccdEnergyFromCoulombIntegrals.hpp:27
virtual std::shared_ptr< FockVector< double > > getResiduum(const int iteration, const std::shared_ptr< const FockVector< double > > &amplitudes)
Implements the iterate method with the DRCCD iteration.
Definition DrccdEnergyFromCoulombIntegrals.cxx:19
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