1 #ifndef QNANO_NEW_TB_HOPPING_PARAMETER_LIST_DEFINED_H 2 #define QNANO_NEW_TB_HOPPING_PARAMETER_LIST_DEFINED_H 4 #include "tools/Parameter_Map.h" 5 #include "tightbinding/TB_Hopping_Parameter.h" 13 std::vector<int> elements;
15 std::vector<std::vector< TB_Hopping_Parameter > > list;
17 size_t size()
const{
return elements.size();}
18 int get_element(
size_t i){
return elements[i];}
20 int find(
int el)
const;
21 int find_check(
int el)
const;
22 void add_element(
int el);
25 void add_from_file(
const std::string &filename);
26 void print(std::ostream &os=std::cout)
const;
27 void print(
const std::string &filename)
const;
33 add_from_file(filename);
Definition: Parameter_Map.h:12
Definition: TB_Hopping_Parameter_List.h:11