Implements constant magnetic filed that switches on given axial radius fR2 from vector fBIn to fBOut.