QNANO
TB_Parameter_List.h
1 #ifndef QNANO_NEW_TB_PARAMETER_LIST_DEFINED_H
2 #define QNANO_NEW_TB_PARAMETER_LIST_DEFINED_H
3 
4 #include "tools/List_Class.h"
5 #include "tools/Parameter_Map.h"
6 #include "tightbinding/TB_Parameter.h"
7 
8 class TB_Parameter_List: public List_Class<TB_Parameter>{
9 public:
10  void add_from_positions_file(const std::string &mat_dir, const std::string &positionfile);
11  void setup(Parameter_Map &param_map);
12 
13  int find(int elem0, int elem1)const;
14 
15  std::pair<const TB_Parameter *, int> get_par_typ(int elem0, int elem1)const;
16 
18  TB_Parameter_List(Parameter_Map &param_map){setup(param_map);}
19 };
20 
21 #endif
Definition: Parameter_Map.h:12
Definition: List_Class.h:8
Definition: TB_Parameter_List.h:8