|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Functions | |
| template<typename Ti, typename... T_tail> | |
| void | FUNC_EACH_2 (Ti &tA, const Ti &tB, std::function< void(Ti &, const Ti &, T_tail...)> func, const T_tail &... t_tail) |
| template<typename Tv, typename Ti, typename... T_tail> | |
| void | FUNC_EACH_2 (std::vector< Tv > &tA, const std::vector< Tv > &tB, std::function< void(Ti &, const Ti &, T_tail...)> func, const T_tail &... t_tail) |
| template<typename T1, typename T2, typename Ti, typename... T_tail> | |
| void | FUNC_EACH_2 (std::map< T1, T2 > &tA, const std::map< T1, T2 > &tB, std::function< void(Ti &, const Ti &, T_tail...)> func, const T_tail &... t_tail) |
| void | NOTE (const std::string &words) |
| void | NEW_PART (const std::string &words) |
| void | OUT (std::ofstream &ofs, const std::string &name) |
| template<class T> | |
| void | OUT (std::ofstream &ofs, const std::string &name, const T &a) |
| template<class T> | |
| void | OUT (std::ofstream &ofs, const std::string &name, const T &x, const T &y) |
| template<class T> | |
| void | OUT (std::ofstream &ofs, const std::string &name, const T &x, const T &y, const T &z) |
| template<class T> | |
| void | OUTP (std::ofstream &ofs, const std::string &name, const T &a, const std::string &explanation="") |
| template<class T> | |
| void | OUT (const std::string &name, const T &a) |
| void | OUT_TIME (const std::string &name, time_t &start, time_t &end) |
| void | MAKE_DIR (const std::string &file) |
| template<class T> | |
| void | AUTO_SET (const std::string &name, const T &a) |
| void | DONE (std::ofstream &ofs, const std::string &description, bool only_rank0=false) |
| template<class T, class TI> | |
| void | ZEROS (std::complex< T > *u, const TI n) |
| template<class T, class TI> | |
| void | ZEROS (T *u, const TI n) |
| void | TEST_LEVEL (const std::string &name, bool disable) |
| bool | SCAN_BEGIN (std::ifstream &ifs, const std::string &TargetName, const bool restart=true, const bool ifwarn=true) |
| bool | SCAN_LINE_BEGIN (std::ifstream &ifs, const std::string &TargetName, const bool restart=true, const bool ifwarn=true) |
| void | SCAN_END (std::ifstream &ifs, const std::string &TargetName, const bool ifwarn=true) |
| template<typename T> | |
| void | DCOPY (const T *a, T *b, const int &dim) |
| template<typename T> | |
| void | COPYARRAY (const T *a, T *b, const int dim) |
| template<> | |
| void | COPYARRAY (const std::complex< double > *a, std::complex< double > *b, const int dim) |
| template<> | |
| void | COPYARRAY (const double *a, double *b, const int dim) |
| void | BLOCK_HERE (const std::string &description) |
| template<typename T> | |
| std::string | TO_STRING (const T &t, const int n=20) |
| template<typename T_map, typename T_key1> | |
| void * | MAP_EXIST (T_map &ms, const T_key1 &key1) |
| template<typename T_map, typename T_key1, typename... T_key_tail> | |
| void * | MAP_EXIST (T_map &ms, const T_key1 &key1, const T_key_tail &... key_tail) |
| template<typename T_map, typename T_key1> | |
| const void * | MAP_EXIST (const T_map &ms, const T_key1 &key1) |
| template<typename T_map, typename T_key1, typename... T_key_tail> | |
| const void * | MAP_EXIST (const T_map &ms, const T_key1 &key1, const T_key_tail &... key_tail) |
| size_t | MemAvailable () |
| template<typename T> | |
| T | ddot_real (const int &dim, const std::complex< T > *psi_L, const std::complex< T > *psi_R, const bool reduce=true) |
| void LCAO_domain::ModuleBase::GlobalFunc::AUTO_SET | ( | const std::string & | name, |
| const T & | a ) |
| void LCAO_domain::ModuleBase::GlobalFunc::BLOCK_HERE | ( | const std::string & | description | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| T LCAO_domain::ModuleBase::GlobalFunc::ddot_real | ( | const int & | dim, |
| const std::complex< T > * | psi_L, | ||
| const std::complex< T > * | psi_R, | ||
| const bool | reduce = true ) |
| void LCAO_domain::ModuleBase::GlobalFunc::DONE | ( | std::ofstream & | ofs, |
| const std::string & | description, | ||
| bool | only_rank0 = false ) |
| void LCAO_domain::ModuleBase::GlobalFunc::FUNC_EACH_2 | ( | std::map< T1, T2 > & | tA, |
| const std::map< T1, T2 > & | tB, | ||
| std::function< void(Ti &, const Ti &, T_tail...)> | func, | ||
| const T_tail &... | t_tail ) |
| void LCAO_domain::ModuleBase::GlobalFunc::FUNC_EACH_2 | ( | std::vector< Tv > & | tA, |
| const std::vector< Tv > & | tB, | ||
| std::function< void(Ti &, const Ti &, T_tail...)> | func, | ||
| const T_tail &... | t_tail ) |
| void LCAO_domain::ModuleBase::GlobalFunc::FUNC_EACH_2 | ( | Ti & | tA, |
| const Ti & | tB, | ||
| std::function< void(Ti &, const Ti &, T_tail...)> | func, | ||
| const T_tail &... | t_tail ) |
| void LCAO_domain::ModuleBase::GlobalFunc::MAKE_DIR | ( | const std::string & | file | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| size_t LCAO_domain::ModuleBase::GlobalFunc::MemAvailable | ( | ) |
| void LCAO_domain::ModuleBase::GlobalFunc::NEW_PART | ( | const std::string & | words | ) |
| void LCAO_domain::ModuleBase::GlobalFunc::NOTE | ( | const std::string & | words | ) |
| void LCAO_domain::ModuleBase::GlobalFunc::OUT | ( | const std::string & | name, |
| const T & | a ) |
| void LCAO_domain::ModuleBase::GlobalFunc::OUT | ( | std::ofstream & | ofs, |
| const std::string & | name ) |
| void LCAO_domain::ModuleBase::GlobalFunc::OUT | ( | std::ofstream & | ofs, |
| const std::string & | name, | ||
| const T & | a ) |
| void LCAO_domain::ModuleBase::GlobalFunc::OUT | ( | std::ofstream & | ofs, |
| const std::string & | name, | ||
| const T & | x, | ||
| const T & | y ) |
| void LCAO_domain::ModuleBase::GlobalFunc::OUT | ( | std::ofstream & | ofs, |
| const std::string & | name, | ||
| const T & | x, | ||
| const T & | y, | ||
| const T & | z ) |
| void LCAO_domain::ModuleBase::GlobalFunc::OUT_TIME | ( | const std::string & | name, |
| time_t & | start, | ||
| time_t & | end ) |
| void LCAO_domain::ModuleBase::GlobalFunc::OUTP | ( | std::ofstream & | ofs, |
| const std::string & | name, | ||
| const T & | a, | ||
| const std::string & | explanation = "" ) |
| bool LCAO_domain::ModuleBase::GlobalFunc::SCAN_BEGIN | ( | std::ifstream & | ifs, |
| const std::string & | TargetName, | ||
| const bool | restart = true, | ||
| const bool | ifwarn = true ) |
The SCAN_BEGIN function efficiently searches text files for specified keywords
| void LCAO_domain::ModuleBase::GlobalFunc::SCAN_END | ( | std::ifstream & | ifs, |
| const std::string & | TargetName, | ||
| const bool | ifwarn = true ) |
| bool LCAO_domain::ModuleBase::GlobalFunc::SCAN_LINE_BEGIN | ( | std::ifstream & | ifs, |
| const std::string & | TargetName, | ||
| const bool | restart = true, | ||
| const bool | ifwarn = true ) |
| void LCAO_domain::ModuleBase::GlobalFunc::TEST_LEVEL | ( | const std::string & | name, |
| bool | disable ) |
| std::string LCAO_domain::ModuleBase::GlobalFunc::TO_STRING | ( | const T & | t, |
| const int | n = 20 ) |
|
inline |