heat_1d_dirichlet#

diffeqzoo.ivps.heat_1d_dirichlet(*, initial_values=None, time_span=(0.0, 1.0), bounding_box=(0.0, 1.0), num_gridpoints=10, coefficient=1.0)[source]#

Discretised heat equation in 1d with Dirichlet boundary.

The discretisation uses second-order central differences. The vector field is evaluated with a convolution with zero-padding.