alternate implementation of pair/only option (for KOKKOS and GPU)
This commit is contained in:
@ -1715,7 +1715,10 @@ void Input::pair_style()
|
||||
int match = 0;
|
||||
if (style == force->pair_style) match = 1;
|
||||
if (!match && lmp->suffix_enable) {
|
||||
if (lmp->suffix)
|
||||
if (lmp->suffixp)
|
||||
if (style + "/" + lmp->suffixp == force->pair_style) match = 1;
|
||||
|
||||
if (lmp->suffix && !lmp->suffixp)
|
||||
if (style + "/" + lmp->suffix == force->pair_style) match = 1;
|
||||
|
||||
if (lmp->suffix2)
|
||||
|
||||
Reference in New Issue
Block a user