Flooring the electron velocity should prevent electron flux when the velocities are negative. The flux is the product of, among others, the electron velocity and the parallel boundary direction (as I understand it). It is therefore probably better to floor the flux instead of the velocity.
Flooring the electron velocity should prevent electron flux when the velocities are negative. The flux is the product of, among others, the electron velocity and the parallel boundary direction (as I understand it). It is therefore probably better to floor the flux instead of the velocity.
https://github.com/dschwoerer/hermes-2/blob/edffd3bedcc99346eff4b31f48be59d9a3f6bb82/hermes-2.cxx#L2824