This comprehensive revision begins with a review of static electric and magnetic fields, providing a wealth of results useful for static and time-dependent fields problems in which the size of the device is small compared with a wavelength.