[lammps-users] Add a new fix to Lammps

Hi, LAMMPSians,

I tried to write a new fix. I have added two files “fix_a.h” and “fix_a.cpp” into /src directory. I know that in old version of LAMMPS “style.h” also have to be modified to realize the invocation of new fixs. But i don’t know how to do it in latest version without such file. Would you tell me the whole processes of embedding a new user-defined fix into LAMMPS. What else should i do?

Appreciate your attention and thanks in advance!

Wenpeng Zhu




2010/3/19 Wenpeng Zhu <[email protected]>: