From 78a486c0fdfe0b8a8fa02c1e8bfac9c4bda751a7 Mon Sep 17 00:00:00 2001 From: Julien Devemy Date: Mon, 25 Sep 2017 16:18:08 +0200 Subject: [PATCH] Authorize hybrid/overlay for fix srp --- src/USER-MISC/fix_srp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/USER-MISC/fix_srp.cpp b/src/USER-MISC/fix_srp.cpp index f3dec42a83..e1e5f579b8 100644 --- a/src/USER-MISC/fix_srp.cpp +++ b/src/USER-MISC/fix_srp.cpp @@ -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;