sisi4s
Loading...
Searching...
No Matches
UccsdtqAmplitudesFromCoulombIntegrals.hpp
Go to the documentation of this file.
1#ifndef UCCSDTQ_FROM_COULOMB_INTEGRALS_DEFINED
2#define UCCSDTQ_FROM_COULOMB_INTEGRALS_DEFINED
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 "Uccsdtq"; }
21
22protected:
27 virtual PTR(FockVector<double>)
28 getResiduum(const int iteration,
29 const PTR(const FockVector<double>) &amplitudes);
30
32 getResiduum(const int iteration,
33 const PTR(const FockVector<complex>) &amplitudes);
34
35 template <typename F>
37 getResiduumTemplate(const int iteration,
38 const PTR(const FockVector<F>) &amplitudes);
39};
40
41} // namespace sisi4s
42
43#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, doubles and triples amplitudes....
Definition ClusterSinglesDoublesTriplesQuadruplesAlgorithm.hpp:26
Represents the direct sum of Tensors and provides the vector space operations of addition,...
Definition FockVector.hpp:26
Definition UccsdtqAmplitudesFromCoulombIntegrals.hpp:12
virtual ~UccsdtqAmplitudesFromCoulombIntegrals()
Definition UccsdtqAmplitudesFromCoulombIntegrals.cxx:28
virtual void run()
Calculates the energy of a ClusterSinglesDoubles algorithm.
Definition UccsdtqAmplitudesFromCoulombIntegrals.cxx:30
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 UccsdtqAmplitudesFromCoulombIntegrals.cxx:46
std::shared_ptr< FockVector< F > > getResiduumTemplate(const int iteration, const std::shared_ptr< const FockVector< F > > &amplitudes)
Definition UccsdtqAmplitudesFromCoulombIntegrals.cxx:53
virtual std::string getAbbreviation()
Returns the abbreviation of the concrete algorithm, e.g. "Ccd", "Dcd".
Definition UccsdtqAmplitudesFromCoulombIntegrals.hpp:20
Definition Algorithm.hpp:10