[petsc-users] DG methods in PETSc

Mark Adams mfadams at lbl.gov
Wed Feb 11 08:38:30 CST 2026


DG (discontinuous Galerkin) is done with a "Broken" FE. Yikes I do not see
a test.
Here is a test but it is not well verified.
Mark

On Tue, Feb 10, 2026 at 10:25 AM Matteo Leone via petsc-users <
petsc-users at mcs.anl.gov> wrote:

> Hello, I already posted on Reddit but just to be sure I write even here.
>
> First thanks for the job you do for PETSc, I have used it for several
> projects and is  always nice.
>
> I am writing cause  I am getting mad trying to implement DG solver in
> PETSc, the target is the Euler equations, however I am failing even with
> just the simplest transport equation (u/t + u/x = 0). I was wondering if I
> am missing somenthing. I tried with the DSSetReimannSolver and DualSpaces,
> and more, but I keep failing, I tried also with LLMs, but seems like there
> is no DG code with PETSc on the web, however I see many papers that do it.
>
> I was  wondering if I am maybe missing  something out or what.
>
> For reference I use PETSc 3.24.3 by means of nix.
>
> Thanks in advance, cheers.
>
> Matteo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20260211/5714063f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex9.c
Type: application/octet-stream
Size: 10367 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20260211/5714063f/attachment.obj>


More information about the petsc-users mailing list