pybamm.electrode.ohm.
LeadingOrder
(param, domain, set_positive_potential=True)¶An electrode submodel that employs Ohm’s law the leading-order approximation to governing equations.
Parameters: |
|
---|
get_coupled_variables
(variables)¶Returns variables which are derived from the fundamental variables in the model.
set_boundary_conditions
(variables)¶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 a implemented in
pybamm.BaseSubModel
.
Parameters: | variables (dict) – The variables in the whole model. |
---|