This program illustrates how to solve a parabolic equation in 2D by means of the Discontinuous Galerkin Method. The error decay for either fixed time steps or fixed discretisation in space is displayed.
The user may choose between linear and quadratic finite elements in space. For discretisation in time, constant and linear finite elements are provided.
The main script is realised in disc_galerkin.m. The solution is performed in full_time_solution.m.
Note: This program has been developed for teaching purposes only. It has not been optimised in terms of performance.