I have added two new styles to Lammps: one angle style and another compute style. I added this in lammps-3Mar,2020 version. I need to install these files in the latest version of lammps. When I try to build the latest version including the new styles, I find the following errors:
error: no member named ‘bounds’ in 'LAMMPS_NS::Force’
1 error generated.
make: *** [CMakeFiles/lammps.dir/Users/postdoc/lammps/lammps-29Oct20/src/MOLECULE/angle_bending.cpp.o] Error 1
make: *** [CMakeFiles/lammps.dir/all] Error 2
make: *** [all] Error 2
(base) [email protected] build % cmake --build .
lammps/lammps-29Oct20/src/compute_tgt_atom.cpp:54:17: error: no member named ‘numeric’ in 'LAMMPS_NS::Force’
fstr = force->numeric(FLERR,arg);
I see that numeric and bounds were defined in the force.h files of the 3rd Mar version. However, these two are not defined in the force.h file of the latest version. How to fix this issue?