Geometry#

class pybamm.Geometry(geometry)[source]#

A geometry class to store the details features of the cell geometry.

The values assigned to each domain are dictionaries containing the spatial variables in that domain, along with expression trees giving their min and maximum extents. For example, the following dictionary structure would represent a Geometry with a single domain “negative electrode”, defined using the variable x_n which has a range from 0 to the pre-defined parameter l_n.

{"negative electrode": {x_n: {"min": pybamm.Scalar(0), "max": l_n}}}
Parameters:

geometries (dict) – The dictionary to create the geometry with

Extends: builtins.dict

property parameters#

Returns all the parameters in the geometry

print_parameter_info()[source]#

Prints all the parameters’ information