Skip to content

Commit 5597ea2

Browse files
author
Han Wang
committed
set restartinfo to 0.
Restarting the pair_style `deepmd` from restart file is not supported
1 parent 6cbeb20 commit 5597ea2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/lmp/pair_nnp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ PairNNP::PairNNP(LAMMPS *lmp)
206206
if (strcmp(update->unit_style,"metal") != 0) {
207207
error->all(FLERR,"Pair deepmd requires metal unit, please set it by \"units metal\"");
208208
}
209+
restartinfo = 0;
209210
pppmflag = 1;
210211
respa_enable = 0;
211212
writedata = 0;

0 commit comments

Comments
 (0)