Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz committed Jan 11, 2024
1 parent 27aeefe commit 1fde1d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/lmp/pair_deepmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,8 @@ void PairDeepMD::compute(int eflag, int vflag) {
if (numb_models == 0) {
return;
}
// See
// https://docs.lammps.org/Developer_updating.html#use-ev-init-to-initialize-variables-derived-from-eflag-and-vflag
ev_init(eflag, vflag);
if (vflag_atom) {
error->all(FLERR,
Expand Down

0 comments on commit 1fde1d1

Please sign in to comment.