deepmodeling / dpgen

The deep potential generator to generate a deep-learning based model of interatomic potential energy and force field
https://docs.deepmodeling.com/projects/dpgen/
GNU Lesser General Public License v3.0
304 stars 174 forks source link

Problem with the cutoff radius in the dataset #1148

Closed flagiu closed 1 year ago

flagiu commented 1 year ago

Summary: Problem with the cutoff radius in the dataset.

The Cu dataset used in your paper https://doi.org/10.1016/j.cpc.2020.107206 shows some samples with ~7A box side but the cutoff radius used in the training is fixed to 8A. I'm wondering how are you applying periodic boundary conditions (PBC) with a box side smaller than the cutoff. Or have you switched off PBC to compute the model descriptors during training?

Thanks for the help,

Flavio Giuliani

wanghan-iapcm commented 1 year ago

One includes not only the nearest periodic neighbors but also other periodic neighbors when the cutoff is larger than half of the simulation cell. We notice that some MD packages only searches nearest periodic neighbors, but deepmd-kit considers all possible neighbors if necessary.