In this chapter we provide an overview of the recently developed coarse-graining technique for orbital-free density functional theory that enables electronic structure calculations on multi-million atoms. The key ideas involved are: (i) a local real-space formulation of orbital-free density functional theory; (ii) a finite element discretization of the… (More)