How can I add new pair style?

Submitted by fabregas04 on Mon, 08/07/2017 - 14:20

Hi guys,

I want to add new pair style from the LAMMPS to the LIGGHTS.

So, I just copied .cpp and .h file to the src folder in LIGGHTS.

Then what should I do to recompile the LIGGGHTS?

I need specific description for recompiling. (I'm using LINUX)

Please let me know how to recompile the LIGGGHTS.

mschramm | Wed, 08/09/2017 - 20:32

You should just need to add the style to the corresponding style_*.h file
Without knowing more, I do not know which one you will need to edit...
After you have added the pair style to the correct style_*.h file run,
make clean-all
and
make auto