pair_style lj/sf

So what command should be used for both truncating and shifting the lj potential?

So what command should be used for both truncating and shifting the lj
potential?

what kind of shifting? there are multiple ways.

Truncating and shifting the lj potential so that we can ignore the attractive portion of the curve.

so use lj/cut then. why did you try to use lj/sf?? that shifts the force.

I didn’t understand that it was force.I took every lj to be lj potential. Thank you sir. But there is also one problem. I am getting the same results on using both 2^(1/6) and 2^(1/6)-0.122 as the cutoff radius. Why is this happening?

I didn't understand that it was force.I took every lj to be lj potential.

but that is what is *says* in the documentation. that is why it is
there and the reason why it is extremely useful to properly read it
and consider carefully what is said in it.

Thank you sir. But there is also one problem. I am getting the same results
on using both 2^(1/6) and 2^(1/6)-0.122 as the cutoff radius. Why is this
happening?

what is "the same result"? that is an extremely vague and thus useless
description.

who knows? perhaps your input is not correct.

I mean the same final coordinates,RDF,etc . Thank you sir . I will look through it.