pair_modify shift


I wanted to use F3C water potential in my MD simulations, which uses typical form for truncation shift function. I wanted to check if lammps uses the same (for its pair_modify shift yes function), or i need to modify it. I tried looking for .cpp file which does this, but could not find it. Could anyone tell me in which file this calculation is hidden?

Thanks a lot!