pybamm.electrode.ohm.BaseModel(param, domain, set_positive_potential=True)¶A base class for electrode submodels that employ Ohm’s law.
| Parameters: |
|
|---|
Extends: pybamm.electrode.BaseElectrode
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. |
|---|