Closed aizvorski closed 1 month ago
Thanks for pointing this out. Of course this is something that should be addressed in the PySCF interface of dftd3. If the lattice information can be easily retrieved from the mol object than implementation should be straight forward.
It seems that, when using simple-dftd3's PySCF interface, periodic systems are calculated as though they were non-periodic.
Minimal example:
Output:
Expected: the two results should be different ;)
dftd3.interface.Dispersionmodel seems to support lattice=... and periodic=... arguments. However the PySCF interface code doesn't copy these parameters from the PySCF cell to the DispersionModel. It looks like if that did happen, it should happen when the other parameters (atom nuclear charges and coordinates) are copied, at pyscf.py line 223.
Could you please let me know if this is a missing feature or deliberate? If missing, how hard would it be to add it?