forked from lijiext/lammps
Authorize hybrid/overlay for fix srp
This commit is contained in:
parent
f2c1172741
commit
78a486c0fd
|
@ -98,7 +98,7 @@ int FixSRP::setmask()
|
|||
|
||||
void FixSRP::init()
|
||||
{
|
||||
if (force->pair_match("hybrid",1) == NULL)
|
||||
if (force->pair_match("hybrid",1) == NULL && force->pair_match("hybrid/overlay",1) == NULL)
|
||||
error->all(FLERR,"Cannot use pair srp without pair_style hybrid");
|
||||
|
||||
int has_rigid = 0;
|
||||
|
|
Loading…
Reference in New Issue