0D Sub Mesh

class pybamm.SubMesh0D(position, npts=None)[source]

0D submesh class. Contains the position of the node.

Parameters:
  • position (dict) – A dictionary that contains the position of the spatial variable
  • npts (dict, optional) – Number of points to be used. Included for compatibility with other meshes, but ignored by this mesh class