Method of moments solution for a wire attached to an arbitrary faceted surface