Direct calculation of the lattice Green function with arbitrary interactions for general crystals.