(computational method for PDEs handling discontinuities)
A discontinuous Galerkin method (DG method) is
a type of finite element method that is an adaption of a type
called a Galerkin method or continuous Galerkin method.
DG methods have the advantage of handling discontinuities,
and are useful in calculations of fields that
include shocks (shock waves).
A DG code is a code making use of the method.