[lammps-users] modify style_pair.h problem

Dear lammps users

I am trying to implement a new potential into lammps. However, when I was trying to modify the style_pair.h file (to include the header file of the new potential) I found that everytime after the making process the style_pair.h remains unchanged (my modifications just disappered). Could anyone give any suggestions??

Thank you very much!

Chun-Wei

Dear lammps users

I am trying to implement a new potential into lammps. However, when I was
trying to modify the style_pair.h file (to include the header file of the
new potential) I found that everytime after the making process the
style_pair.h remains unchanged (my modifications just disappered). Could
anyone give any suggestions??

style_pair.h is autogenerated when compiling.

just follow the example of other pair_something.h
files for how to add a new pair style and
have a look at the manual. there is a detailed
section on modifying and extending lammps.

cheers,
   axel.