1 #ifndef QNANO_NEW_SELECT_ORBITALS_LIST_DEFINED_H 2 #define QNANO_NEW_SELECT_ORBITALS_LIST_DEFINED_H 4 #include "tools/Has_Print.h" 5 #include "tools/List_Class.h" 6 #include "tools/Parameter_Map.h" 7 #include "orbitals/Select_Orbitals.h" 8 #include "structure/Atom_List.h" 13 bool is_spinless()
const{
return spinless;}
14 void check_spin_consistency();
17 void add_from_material_file(
const std::string &res_dir,
const std::string &materialfile);
18 void add_from_positions_file(
const std::string &materialdirectory,
const std::string &positionfile);
23 virtual int find(
int element)
const;
24 virtual int find_check(
int element)
const;
25 void print(std::ostream &ofs=std::cout)
const;
27 const Select_Orbitals & get_from_element(
int element)
const{
return list[find_check(element)];}
Definition: Parameter_Map.h:12
Interface for classes that have a "print" function.
Definition: Has_Print.h:7
Definition: Select_Orbitals.h:11
Definition: List_Class.h:8
Definition: Select_Orbitals_List.h:10