@@ -306,7 +306,7 @@ void Input_Conv::Convert()
306306 tolower);
307307 GlobalC::restart.folder = PARAM.globalv .global_readin_dir + " restart/" ;
308308 ModuleBase::GlobalFunc::MAKE_DIR (GlobalC::restart.folder );
309- if (dft_functional_lower == " hf" || dft_functional_lower == " pbe0"
309+ if (dft_functional_lower == " hf" || dft_functional_lower == " pbe0" || dft_functional_lower == " b3lyp "
310310 || dft_functional_lower == " hse"
311311 || dft_functional_lower == " opt_orb"
312312 || dft_functional_lower == " scan0" ) {
@@ -332,7 +332,7 @@ void Input_Conv::Convert()
332332 dft_functional_lower.begin (),
333333 tolower);
334334 GlobalC::restart.folder = PARAM.globalv .global_readin_dir + " restart/" ;
335- if (dft_functional_lower == " hf" || dft_functional_lower == " pbe0"
335+ if (dft_functional_lower == " hf" || dft_functional_lower == " pbe0" || dft_functional_lower == " b3lyp "
336336 || dft_functional_lower == " hse"
337337 || dft_functional_lower == " opt_orb"
338338 || dft_functional_lower == " scan0" ) {
@@ -362,7 +362,8 @@ void Input_Conv::Convert()
362362 PARAM.inp .dft_functional .end (),
363363 dft_functional_lower.begin (),
364364 tolower);
365- if (dft_functional_lower == " hf" || dft_functional_lower == " pbe0" || dft_functional_lower == " scan0" )
365+ if (dft_functional_lower == " hf" || dft_functional_lower == " pbe0" || dft_functional_lower == " scan0"
366+ || dft_functional_lower == " b3lyp" )
366367 {
367368 GlobalC::exx_info.info_global .cal_exx = true ;
368369 GlobalC::exx_info.info_global .ccp_type
0 commit comments