Unit Conversion Factor in Lammps

Dear Lammps Users

I am trying to make user define potential by pair_style lepton command.

In doing that, I found that I have to set my own coulomb potential calculation.

The lammps document says the coulomb potential formula is
image

and C is the internal conversion factor.

I want to find the exact value of C when I use “units real”.

How can I find this in the lammps code?

Or do I have to do some math to find C corresponding with fundamental charge and kcal/mol unit

Currently I’m using Lammps 27Jun2024 Version

1 Like

Really appreciate for your help professor.
force->qqr2e = 332.06371
I found this C matches with my conversion calculation!