make default settings() functions for bonded interactions error out with arguments
This commit is contained in:
@ -74,6 +74,16 @@ void Dihedral::init()
|
||||
init_style();
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
check that there are no arguments
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
void Dihedral::settings(int narg, char **args)
|
||||
{
|
||||
if (narg > 0)
|
||||
error->all(FLERR, "Illegal dihedral_style {} argument: {}", force->dihedral_style, args[0]);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
setup for energy, virial computation
|
||||
see integrate::ev_set() for bitwise settings of eflag/vflag
|
||||
|
||||
Reference in New Issue
Block a user