QNANO
Public Member Functions | Public Attributes | List of all members
Select_Orbitals Class Reference
Inheritance diagram for Select_Orbitals:
Inheritance graph
[legend]
Collaboration diagram for Select_Orbitals:
Collaboration graph
[legend]

Public Member Functions

bool is_spinless () const
 
int get_nr_orbs_per_spin () const
 
int find (int orb) const
 
int find (const std::string &str) const
 
int find_first_of (const std::string &str1, const std::string &str2="", const std::string &str3="", const std::string &str4="", const std::string &str5="") const
 
bool contains (int orb) const
 
bool contains (const std::string &str) const
 
bool contains_s () const
 
bool contains_p () const
 
bool contains_d () const
 
bool contains_sstar () const
 
void add (int i, bool spinup=false)
 
void add (const std::string &str, bool spinup=false)
 
void select_all ()
 
void make_consistent ()
 
void read_list (const std::vector< std::string > &stringvec, size_t col=0)
 
void read_list_from_line (const std::string &line, size_t col=0)
 
void read_list_from_line (std::istream &ifs)
 
void read_from_file (const std::string &filename)
 
void print_list (std::ostream &ofs) const
 
void print (std::ostream &ofs=std::cout) const
 
 Select_Orbitals (const std::string &filename)
 
- Public Member Functions inherited from List_Class< int >
int & operator[] (size_t i)
 
const int & operator[] (size_t i) const
 
size_t size () const
 
virtual void resize (size_t i)
 
virtual void reserve (size_t i)
 
virtual void push_back (const int &value)
 
virtual void clear ()
 
List_Class< int > & operator= (const std::vector< int > &Tvec)
 
int find (intelement) const
 
int find_check (intelement) const
 
void add_if_new (intelement)
 
void add_if_new_check (intelement)
 

Public Attributes

int element
 
- Public Attributes inherited from List_Class< int >
std::vector< int > list
 

The documentation for this class was generated from the following files: