QNANO
TB_Model.h
1 #ifndef QNANO_NEW_TB_HAMILTONIAN_DEFINED_
2 #define QNANO_NEW_TB_HAMILTONIAN_DEFINED_
3 
35 #include "tools/Parameter_Map.h"
36 #include "tools/Sparse_Matrix_Generator.h"
37 
39 public:
42  virtual void setup(Parameter_Map& param_map)=0;
43  virtual void setup(){ Parameter_Map param_map; setup(param_map); }
44 
45 
47  virtual size_t get_nr_at() const { return get_nr_blocks();};
48  virtual size_t get_nr_orbs_per_at(size_t atom=0) const { return get_block_size(atom);};
49 
50 
51  virtual ~TB_Model(){}
52 };
53 
54 
55 
56 #endif
Definition: Parameter_Map.h:12
Definition: Sparse_Matrix_Generator.h:22
virtual void setup(Parameter_Map &param_map)=0
virtual size_t get_nr_at() const
How many atoms.
Definition: TB_Model.h:47
Definition: TB_Model.h:38