The boundary condition may be defined using either a Pointwise constraint or a
Flux (Danckwerts) condition. The Pointwise constraint condition can sometimes be a more stable option, whereas the Flux (Danckwerts) may render more consistent results when specifying an upstream mixture composition when there are concentration gradients present in the electrolyte close to the boundary.