forked from lijiext/lammps
should set one_coeff flag to 1 in potentials requiring 'pair_coeff * *'
This commit is contained in:
parent
4a4dcef7b7
commit
1d5ada136a
|
@ -47,6 +47,7 @@ using namespace LAMMPS_NS;
|
|||
PairILPGrapheneHBN::PairILPGrapheneHBN(LAMMPS *lmp) : Pair(lmp)
|
||||
{
|
||||
restartinfo = 0;
|
||||
one_coeff = 1;
|
||||
|
||||
// initialize element to parameter maps
|
||||
nelements = 0;
|
||||
|
|
|
@ -47,6 +47,7 @@ using namespace LAMMPS_NS;
|
|||
PairKolmogorovCrespiFull::PairKolmogorovCrespiFull(LAMMPS *lmp) : Pair(lmp)
|
||||
{
|
||||
restartinfo = 0;
|
||||
one_coeff = 1;
|
||||
|
||||
// initialize element to parameter maps
|
||||
nelements = 0;
|
||||
|
|
Loading…
Reference in New Issue