Previous topic


Next topic

Scikits FEM Submeshes

This Page

1D Sub Meshes

class pybamm.SubMesh1D(edges, coord_sys, tabs=None)[source]

1D submesh class. Contains the position of the nodes, the number of mesh points, and (optionally) information about the tab locations.

class pybamm.Uniform1DSubMesh(lims, npts, tabs=None)[source]

A class to generate a uniform submesh on a 1D domain

  • lims (dict) – A dictionary that contains the limits of the spatial variables
  • npts (dict) – A dictionary that contains the number of points to be used on each spatial variable
  • tabs (dict, optional) – A dictionary that contains information about the size and location of the tabs