TBTK
InteractionAmplitudeSet.h
1 #ifndef COM_DAFER45_TBTK_INTERACTION_AMPLITUDE_SET
2 #define COM_DAFER45_TBTK_INTERACTION_AMPLITUDE_SET
3 
5 #include "TBTK/InteractionAmplitude.h"
6 
7 #include <complex>
8 
9 namespace TBTK{
10 
12 public:
14  InteractionAmplitudeSet(const HoppingAmplitudeSet *hoppingAmplitudeSet);
15 
18 
20  void addIA(InteractionAmplitude ia);
21 
23  unsigned int getNumInteractionAmplitudes() const;
24 
27  unsigned int n
28  ) const;
29 private:
31  const HoppingAmplitudeSet *hoppingAmplitudeSet;
32 
34  std::vector<InteractionAmplitude> interactionAmplitudes;
35 };
36 
38  interactionAmplitudes.push_back(ia);
39 }
40 
42  return interactionAmplitudes.size();
43 }
44 
46  unsigned int n
47 ) const{
48  return interactionAmplitudes.at(n);
49 }
50 
51 }; //End of namespace TBTK
52 
53 #endif
HoppingAmplitude container.
Definition: HoppingAmplitudeSet.h:49
unsigned int getNumInteractionAmplitudes() const
Definition: InteractionAmplitudeSet.h:41
InteractionAmplitudeSet(const HoppingAmplitudeSet *hoppingAmplitudeSet)
HoppingAmplitude container.
const InteractionAmplitude & getInteractionAmplitude(unsigned int n) const
Definition: InteractionAmplitudeSet.h:45
Definition: InteractionAmplitudeSet.h:11
Definition: ModelFactory.h:35
void addIA(InteractionAmplitude ia)
Definition: InteractionAmplitudeSet.h:37
Definition: InteractionAmplitude.h:11