Theory and practice of modeling van der Waals interactions in electronic-structure calculations. (13th June 2019)