A theoretical model of oscillations of paramagnetic or diamagnetic structures subject to passive magnetic elements