1 #ifndef CHAINPROVIDER_H
2 #define CHAINPROVIDER_H
4 #include "../config/configuration.h"
12 typedef std::pair < double, double > tOrbital;
13 typedef std::vector < tOrbital > tWilsonChain;
25 virtual void showInfo();
28 void setLength(
int length) { m_length = length; }
29 void setLambda(
double lambda) { m_lambda = lambda; }
30 double getLambda() {
return m_lambda; }
31 int getLength() {
return m_length; }
32 inline bool isPHsymmetric() {
return m_symmetry_PH; }
33 inline bool isSZsymmetric() {
return m_symmetry_SZ; }
35 inline void setPHsymmetric(
bool PH) { m_symmetry_PH = PH; }
36 inline void setSZsymmetric(
bool SZ) { m_symmetry_SZ = SZ; }
39 const chain::tOrbital& getOrbitalUp(
int n)
const {
return m_up.at(n); }
40 const chain::tOrbital& getOrbitalDown(
int n)
const {
return m_down.at(n); }
42 virtual void buildChain() = 0;
58 chain::tWilsonChain m_up;
59 chain::tWilsonChain m_down;
62 #endif // CHAINPROVIDER_H
Definition: chainprovider.h:19
A configuration object which is populated from a configuration file and allows to query and modify co...
Definition: configuration.h:46