@@ -573,7 +573,7 @@ Namely, each line contains the element name and the corresponding parameter.)";
573573 this ->add_item (item);
574574 }
575575 {
576- Input_Item item (" vdw_cutoff_smooth_width_2b " );
576+ Input_Item item (" vdw_cutoff_width2 " );
577577 item.annotation = " smooth cutoff width for two-body dispersion" ;
578578 item.category = " vdW correction" ;
579579 item.type = " Real" ;
@@ -582,17 +582,17 @@ A value of zero disables smoothing for the two-body contribution.)";
582582 item.default_value = " 0.05" ;
583583 item.unit = " Bohr" ;
584584 item.set_availability (" vdw_method==d4" );
585- read_sync_double (input.vdw_cutoff_smooth_width_2b );
585+ read_sync_double (input.vdw_cutoff_width2 );
586586 item.check_value = [](const Input_Item& item, const Parameter& para) {
587- if (para.input .vdw_cutoff_smooth_width_2b < 0.0 )
587+ if (para.input .vdw_cutoff_width2 < 0.0 )
588588 {
589- ModuleBase::WARNING_QUIT (" ReadInput" , " vdw_cutoff_smooth_width_2b must be non-negative" );
589+ ModuleBase::WARNING_QUIT (" ReadInput" , " vdw_cutoff_width2 must be non-negative" );
590590 }
591591 };
592592 this ->add_item (item);
593593 }
594594 {
595- Input_Item item (" vdw_cutoff_smooth_width_3b " );
595+ Input_Item item (" vdw_cutoff_width3 " );
596596 item.annotation = " smooth cutoff width for three-body dispersion" ;
597597 item.category = " vdW correction" ;
598598 item.type = " Real" ;
@@ -601,11 +601,11 @@ A value of zero disables smoothing for the three-body contribution.)";
601601 item.default_value = " 0.05" ;
602602 item.unit = " Bohr" ;
603603 item.set_availability (" vdw_method==d4" );
604- read_sync_double (input.vdw_cutoff_smooth_width_3b );
604+ read_sync_double (input.vdw_cutoff_width3 );
605605 item.check_value = [](const Input_Item& item, const Parameter& para) {
606- if (para.input .vdw_cutoff_smooth_width_3b < 0.0 )
606+ if (para.input .vdw_cutoff_width3 < 0.0 )
607607 {
608- ModuleBase::WARNING_QUIT (" ReadInput" , " vdw_cutoff_smooth_width_3b must be non-negative" );
608+ ModuleBase::WARNING_QUIT (" ReadInput" , " vdw_cutoff_width3 must be non-negative" );
609609 }
610610 };
611611 this ->add_item (item);
0 commit comments