Boundary conditions for emitting walls, and fixes for the steady-state source term used for sheath simulations. The BCs are mostly self-contained and regression tests pass, but a few modifications were made to the main App which should be noted in case issues are discovered elsewhere:
Moved applyBcInitial after advanceCrossSpeciesCoupling in the dummy forward Euler run during initialization, as the emission BC requires this order.
Now additionally pass inIdx to the BC version of advanceCrossSpeciesCoupling, modified the function signature in BCsBase and NeutralRecycling to match.
Added G0's clear range function to G2-G0.
Added the optional ability to pass the ranges to DistFuncMomentDG, as they are required to calculate the impacting flux.
This pull request accompanies the one for the branch of the same name in G0.
Boundary conditions for emitting walls, and fixes for the steady-state source term used for sheath simulations. The BCs are mostly self-contained and regression tests pass, but a few modifications were made to the main App which should be noted in case issues are discovered elsewhere:
This pull request accompanies the one for the branch of the same name in G0.