Previous topic

Meshes

Next topic

1D Sub Meshes

This Page

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.SubMesh) –