ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "module_external/blas_connector.h"
#include "global_function-func_each_2.h"
#include "global_variable.h"
#include "tool_check.h"
#include "tool_quit.h"
#include "tool_title.h"
#include <cassert>
#include <complex>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <valarray>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | ModuleBase |
namespace | ModuleBase::GlobalFunc |
Functions | |
void | ModuleBase::GlobalFunc::NOTE (const std::string &words) |
void | ModuleBase::GlobalFunc::NEW_PART (const std::string &words) |
void | ModuleBase::GlobalFunc::OUT (std::ofstream &ofs, const std::string &name) |
template<class T > | |
void | ModuleBase::GlobalFunc::OUT (std::ofstream &ofs, const std::string &name, const T &a) |
template<class T > | |
void | ModuleBase::GlobalFunc::OUT (std::ofstream &ofs, const std::string &name, const T &x, const T &y) |
template<class T > | |
void | ModuleBase::GlobalFunc::OUT (std::ofstream &ofs, const std::string &name, const T &x, const T &y, const T &z) |
template<class T > | |
void | ModuleBase::GlobalFunc::OUTP (std::ofstream &ofs, const std::string &name, const T &a, const std::string &explanation="") |
template<class T > | |
void | ModuleBase::GlobalFunc::OUT (const std::string &name, const T &a) |
void | ModuleBase::GlobalFunc::OUT_TIME (const std::string &name, time_t &start, time_t &end) |
void | ModuleBase::GlobalFunc::MAKE_DIR (const std::string &fn) |
template<class T > | |
void | ModuleBase::GlobalFunc::AUTO_SET (const std::string &name, const T &a) |
void | ModuleBase::GlobalFunc::DONE (std::ofstream &ofs, const std::string &description, const bool only_rank0) |
template<class T , class TI > | |
void | ModuleBase::GlobalFunc::ZEROS (std::complex< T > *u, const TI n) |
template<class T , class TI > | |
void | ModuleBase::GlobalFunc::ZEROS (T *u, const TI n) |
void | ModuleBase::GlobalFunc::TEST_LEVEL (const std::string &name, bool disable) |
bool | ModuleBase::GlobalFunc::SCAN_BEGIN (std::ifstream &ifs, const std::string &TargetName, const bool restart, const bool ifwarn) |
bool | ModuleBase::GlobalFunc::SCAN_LINE_BEGIN (std::ifstream &ifs, const std::string &TargetName, const bool restart, const bool ifwarn) |
void | ModuleBase::GlobalFunc::SCAN_END (std::ifstream &ifs, const std::string &TargetName, const bool ifwarn) |
template<typename T > | |
void | ModuleBase::GlobalFunc::DCOPY (const T *a, T *b, const int &dim) |
template<typename T > | |
void | ModuleBase::GlobalFunc::COPYARRAY (const T *a, T *b, const long dim) |
template<> | |
void | ModuleBase::GlobalFunc::COPYARRAY (const std::complex< double > *a, std::complex< double > *b, const long dim) |
template<> | |
void | ModuleBase::GlobalFunc::COPYARRAY (const double *a, double *b, const long dim) |
void | ModuleBase::GlobalFunc::BLOCK_HERE (const std::string &description) |
template<typename T > | |
std::string | ModuleBase::GlobalFunc::TO_STRING (const T &t, const int n=20) |
template<typename T_map , typename T_key1 > | |
void * | ModuleBase::GlobalFunc::MAP_EXIST (T_map &ms, const T_key1 &key1) |
template<typename T_map , typename T_key1 , typename... T_key_tail> | |
void * | ModuleBase::GlobalFunc::MAP_EXIST (T_map &ms, const T_key1 &key1, const T_key_tail &... key_tail) |
template<typename T_map , typename T_key1 > | |
const void * | ModuleBase::GlobalFunc::MAP_EXIST (const T_map &ms, const T_key1 &key1) |
template<typename T_map , typename T_key1 , typename... T_key_tail> | |
const void * | ModuleBase::GlobalFunc::MAP_EXIST (const T_map &ms, const T_key1 &key1, const T_key_tail &... key_tail) |
size_t | ModuleBase::GlobalFunc::MemAvailable () |
template<typename T > | |
T | ModuleBase::GlobalFunc::ddot_real (const int &dim, const std::complex< T > *psi_L, const std::complex< T > *psi_R, const bool reduce=true) |