Questions about how the virtual functions in pair class is empolyed


I am now working on creating a new pair type using Lammps. However, when I’m running the input script after I compiled the modified source code, there are several functions overwritten in the pair class is not working. It will be very helpful if you can give me a flowchart on how these virtual functions in pair class works. Thanks a lot!


Please see: 4.6. How a timestep works — LAMMPS documentation and 4.7.1. Writing new pair styles — LAMMPS documentation