Authorize hybrid/overlay for fix srp

This commit is contained in:
Julien Devemy 2017-09-25 16:18:08 +02:00
parent f2c1172741
commit 78a486c0fd
1 changed files with 1 additions and 1 deletions

View File

@ -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;