Mesh contains a list of submeshes on each subdomain.
Extends: dict
Create meshes for potential ghost nodes on either side of each submesh, using self.submeshclass This will be useful for calculating the gradient with Dirichlet BCs.
Base submesh class. Contains the position of the nodes, the number of mesh points, and (optionally) information about the tab locations.
Base class for mesh generator objects that are used to generate submeshes.
submesh_type (pybamm.SubMesh
) – The type of submesh to use (e.g. Uniform1DSubMesh).
submesh_params (dict, optional) – Contains any parameters required by the submesh.