Self-energy of dislocations and dislocation pileups. (March 2016)