Derivation of the Langevin Poisson-Boltzmann equation for point-like ions using the functional density theory