File tree Expand file tree Collapse file tree
source/module_hamilt_general/module_xc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414namespace ModuleBase
1515{
1616 void WARNING_QUIT (const std::string &file,const std::string &description) {exit (1 );}
17+ void TITLE (const std::string &class_function_name,bool disable){};
18+ void TITLE (const std::string &class_name,const std::string &function_name,bool disable){};
1719}
1820
1921namespace GlobalV
Original file line number Diff line number Diff line change 1414namespace ModuleBase
1515{
1616 void WARNING_QUIT (const std::string &file,const std::string &description) {exit (1 );}
17+ void TITLE (const std::string &class_function_name,bool disable){};
18+ void TITLE (const std::string &class_name,const std::string &function_name,bool disable){};
1719}
1820
1921namespace GlobalV
Original file line number Diff line number Diff line change 1313namespace ModuleBase
1414{
1515 void WARNING_QUIT (const std::string &file,const std::string &description) {exit (1 );}
16+ void TITLE (const std::string &class_function_name,bool disable){};
17+ void TITLE (const std::string &class_name,const std::string &function_name,bool disable){};
1618}
1719
1820namespace GlobalV
Original file line number Diff line number Diff line change 1414namespace ModuleBase
1515{
1616 void WARNING_QUIT (const std::string &file,const std::string &description) {exit (1 );}
17+ void TITLE (const std::string &class_function_name,bool disable){};
18+ void TITLE (const std::string &class_name,const std::string &function_name,bool disable){};
1719}
1820
1921namespace GlobalV
Original file line number Diff line number Diff line change 22#include " module_hamilt_pw/hamilt_pwdft/global.h"
33#include " module_parameter/parameter.h"
44#include " module_base/global_function.h"
5+ #include " module_base/tool_title.h"
56#ifdef USE_PAW
67#include " module_cell/module_paw/paw_cell.h"
78#endif
@@ -71,6 +72,7 @@ method. */
7172// for detail, refer to https://www.tddft.org/programs/libxc/functionals/
7273void XC_Functional::set_xc_type (const std::string xc_func_in)
7374{
75+ ModuleBase::TITLE (" XC_Functional" , " set_xc_type" );
7476 // Note : due to the separation of gcx_spin and gcc_spin,
7577 // when you are adding new GGA functionals,
7678 // please put exchange first, followed by correlation,
@@ -364,6 +366,7 @@ void XC_Functional::set_xc_type(const std::string xc_func_in)
364366
365367std::string XC_Functional::output_info ()
366368{
369+ ModuleBase::TITLE (" XC_Functional" , " output_info" );
367370 #ifdef USE_LIBXC
368371 if (use_libxc)
369372 {
You can’t perform that action at this time.
0 commit comments