make default settings() functions for bonded interactions error out with arguments
This commit is contained in:
@ -75,6 +75,16 @@ void Angle::init()
|
||||
init_style();
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
check that there are no arguments
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
void Angle::settings(int narg, char **args)
|
||||
{
|
||||
if (narg > 0)
|
||||
error->all(FLERR, "Illegal angle_style {} argument: {}", force->angle_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