How to write a new style
Find anexistingstyle that does something similar
ask on mail list or send developers an email
especially important if you want to do something complex
does functionality you want already exist?
is it a good idea to do this in LAMMPS?
will it be parallel?
can advise you asto possiblegotchas
Decide which style is most appropriate
Understandhowthatstyleworks and is structured
examine parent class header le (e.g. pair.h)
learn what methods it supports (doc/Section
look at other *.cpp and *.h les of that style
if you get stuck, post to mail list