File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
source/module_hamilt_general/module_vdw Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ std::unique_ptr<Vdw> make_vdw(const UnitCell &ucell,
4444 const Input_para &input,
4545 std::ofstream* plog)
4646{
47+ // NOTE: the following lines are incorrect!
48+ // NOTE: VDW interaction exists between images even if there is only one
49+ // NOTE: atom in cell. See issue#5401: https://github.com/deepmodeling/abacus-develop/issues/5401
4750 // if (ucell.nat < 2 && input.vdw_method != "none")
4851 // {
4952 // ModuleBase::WARNING("VDW", "Only one atom in this system, and will not do the calculation of VDW");
@@ -76,4 +79,4 @@ std::unique_ptr<Vdw> make_vdw(const UnitCell &ucell,
7679 return nullptr ; // "none" method
7780}
7881
79- } // namespace vdw
82+ } // namespace vdw
You can’t perform that action at this time.
0 commit comments