Base class for conservation of charge in the electrolyte.
param (parameter class) – The parameters to use for this submodel
domain (str, optional) – The domain in which the model holds
options (dict, optional) – A dictionary of options to be passed to the model.
**Extends (** pybamm.BaseSubModel) –
A method to set the boundary conditions for the submodel. Note: this method
modifies the state of self.boundary_conditions. Unless overwritten by a
submodel, the default behaviour of ‘pass’ is used as implemented in
pybamm.BaseSubModel.
variables (dict) – The variables in the whole model.