sisi4s
Loading...
Searching...
No Matches
UccsdAmplitudesFromCoulombIntegrals.hpp
Go to the documentation of this file.
1#ifndef ___CLUSTERSINGLESDOUBLESALGORITHM_DEFINED_PEACE
2#define ___CLUSTERSINGLESDOUBLESALGORITHM_DEFINED_PEACE
3
5#include <vector>
6#include <algorithm>
7#include <memory>
8#include <string>
9
10namespace sisi4s {
13public:
16 std::vector<Argument> const &argumentList);
18
19 virtual void run();
20 virtual std::string getAbbreviation() { return "Uccsd"; }
21
22protected:
27 virtual PTR(FockVector<double>)
28 getResiduum(const int iteration,
29 const PTR(const FockVector<double>) &amplitudes);
30
32 bool onlyPpl;
33
35 getResiduum(const int iteration,
36 const PTR(const FockVector<complex>) &amplitudes);
37
38 template <typename F>
40 getResiduumTemplate(const int iteration,
41 const PTR(const FockVector<F>) &amplitudes);
42};
43
44} // namespace sisi4s
45
46#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
Represents the direct sum of Tensors and provides the vector space operations of addition,...
Definition FockVector.hpp:26
Definition UccsdAmplitudesFromCoulombIntegrals.hpp:12
std::shared_ptr< FockVector< F > > getResiduumTemplate(const int iteration, const std::shared_ptr< const FockVector< F > > &amplitudes)
Definition UccsdAmplitudesFromCoulombIntegrals.cxx:108
virtual void run()
Calculates the energy of a ClusterSinglesDoubles algorithm.
Definition UccsdAmplitudesFromCoulombIntegrals.cxx:23
bool onlyPpl
Definition UccsdAmplitudesFromCoulombIntegrals.hpp:32
bool usingIntermediates
Definition UccsdAmplitudesFromCoulombIntegrals.hpp:31
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 UccsdAmplitudesFromCoulombIntegrals.cxx:101
virtual std::string getAbbreviation()
Returns the abbreviation of the concrete algorithm, e.g. "Ccd", "Dcd".
Definition UccsdAmplitudesFromCoulombIntegrals.hpp:20
virtual ~UccsdAmplitudesFromCoulombIntegrals()
Definition UccsdAmplitudesFromCoulombIntegrals.cxx:21
Definition Algorithm.hpp:10