idefix-code/idefix

Reflective boundary conditions for the magnetic field

Closed this issue · 0 comments

Question

Hi there, the documentation specifies that the reflective BC are identical to the outflow BC, except for the normal component of the velocity field which is systematically reversed. However, I can see in the source code that all the components of the magnetic field are reversed as well (while being symmetrised in case of outflow BC so that there is zero gradient on B). Is this to be expected for the magnetic field with reflective BC? If so, it could be worth to add a note about it in the documentation.