Dear All,
I implemented a new potential to use it in lammps following the method described on the documentation od lammps:
http://lammps.sandia.gov/doc/Section_modify.html
The potential energy of the system is evaluated in this program (pair_foo.cpp).
My problem is how to communicate this quantity (potential energy) in order to write correctly the output file (log.lammps).
Any idea?
Thanks in advance,
Best regards.