[lammps-users] Floating exception in FIX - SOLVED

Dear Steve,

I have solved my own problem: nevery was not defined in my fix.

However, I think the documentation could be slightly more clear about this. I expend a lot of time trying to debug this, even after reading the documentation.

I suggest to change:

"For an end_of_step fix, one of your fix arguments must be the variable “nevery” which is used to determine when to call the fix. By convention, this is the first argument the fix defines (after the ID, group-ID, style). "

In http://lammps.sandia.gov/doc/Section_modify.html#fix

To:

“For an end_of_step fix, one of your fix arguments must be the variable “nevery” which is used to determine when to call the fix. By convention, this is the first argument the fix defines (after the ID, group-ID, style). Hence the user should define: nevery = atoi(arg[3]); in the class constructor”

Regards, Javier