A numerical algorithm for the solution of the two-dimensional effectiv
e-mass Schrodinger equation for current-carrying states, the quantum t
ransmitting boundary method, is extended to magnetotransport problems
where a magnetic field is applied. Boundary conditions appropriate for
such states are developed and a solution algorithm based on the finit
e-element method is constructed. The algorithm is valid for general de
vice shapes, general potential profiles, and multiple leads of general
orientations. The technique is applied to a quantum channel with a si
ngle scatterer, an antidot, in the channel. Magnetic quasibound states
(MQBS) are formed around the scatterer and MQBS-induced resonant refl
ection is observed.