Theory of Spin‐Wave Resonance in Thin Films