A new semi-analytical solution for gap resonance between twin rectangular boxes | Synapse