Determination of Cavity Shape and Size in Homogeneously Magnetized Magnets Within the Framework of a Two-Dimensional Model | Synapse