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 0D submesh (a signle point) in space

  • npts (dict, optional) – Number of points to be used. Included for compatibility with other meshes, but ignored by this mesh class

Extends: pybamm.meshes.meshes.SubMesh