The discrete-dipole approximation and its application to interstellar graphite grains | Synapse