Text this: Subdomain Precise Integration Method for Periodic Structures