Previous topic

Scikit Finite Elements

Next topic

Solvers

This Page

Zero Dimensional Spatial Method

class pybamm.ZeroDimensionalMethod(mesh=None)[source]

A discretisation class for the zero dimensional mesh

Parameters:
mass_matrix(symbol, boundary_conditions)[source]

Calculates the mass matrix for a spatial method. Since the spatial method is zero dimensional, this is simply the number 1.