Effect of a rigid toroidal inhomogeneity on the elastic properties of a composite