Previous topic

1D Sub Meshes

Next topic

0D Sub Mesh

This Page

Scikits FEM Submeshes

class pybamm.Scikit2DSubMesh(lims, npts, tabs)[source]

Submesh class. Contains information about the 2D finite element mesh. Note: This class only allows for the use of piecewise-linear triangular finite elements.

Parameters:
  • lims (dict) – A dictionary that contains the limits of each spatial variable
  • npts (dict) – A dictionary that contains the number of points to be used on each spatial variable
  • tabs (dict) – A dictionary that contains information about the size and location of the tabs
on_boundary(y, z, tab)[source]

A method to get the degrees of freedom corresponding to the subdomains for the tabs.