dpg_laplace_adapt, a FENICS script which uses the Discontinuous Petrov Galerkin (DPG) method to solve a Poisson problem over the unit square, with adaptivity, by Jay Gopalakrishnan.
Note that I have installed FENICS using Docker, and so to run this script I issue the commands:
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
dpg_bvp, a FENICS script which uses the Discontinuous Petrov Galerkin (DPG) method to solve a boundary value problem over an interval, by Jay Gopalakrishnan.
dpg_laplace, a FENICS script which uses the Discontinuous Petrov Galerkin (DPG) method to solve a Poisson problem over the unit square, by Jay Gopalakrishnan.
Plots of the mesh are available at 7 levels of refinement:
Contour plots of the solution are available at 7 levels of refinement: