Dear LAMMPS,
I am introducing a new pair potential to the lammps code. I have the files pair_bias.h and pair_bias.cpp in the /src directory. I basically copied pair_lj_cut.h and pair_lj_cut.cpp and changed some of the code in the compute() function and added a couple new functions.
The relevant parts of style_user.h looks like this:
#ifdef PairInclude
#include "pair_bias.h"
#endif
#ifdef PairClass
PairStyle(bias,PairBias)
#endif
This compiles, but my input file command
pair_style bias 2.5
gives the error: ERROR: Invalid pair style.
I looked over the modifying and extended lammps section of the documentation and I think I've followed the directions ... any suggestions on how to fix this?
thanks!
Joyce