deepmodeling / deepmd-kit

A deep learning package for many-body potential energy representation and molecular dynamics
https://docs.deepmodeling.com/projects/deepmd/
GNU Lesser General Public License v3.0
1.45k stars 499 forks source link

The weight for virial #579

Closed JunboLu closed 3 years ago

JunboLu commented 3 years ago

Hi, I have a question about weight for virial. I see the examples in deepmd-kit example directory. I find that both start_prev_v and limit_prev_v are zero. So if I have virial data, how could I set weight for virial? With my best regards, Junbo

tuoping commented 3 years ago

The same setting for force will do.