Harmonic fields and Maxwell equations on perforated domains. (March 2020)