
31
chapter three
Discontinuous Galerkin
method for one-dimensional
nonconservative equations
In this chapter, the discontinuous Galerkin (DG) method is used to solve
one-dimensional problems, which will give the readers a rst glance at
this method. Through examples, the steps needed for coordinate trans-
formation, numerical integration, and applications of boundary and
initial conditions are illustrated. The examples considered include the
ordinary differential equation (ODE), pure convection, and pure diffu-
sion in one dimension.
3.1 Discontinuous Galerkin method for
ordinary differential equations
The discontinuous Galerkin method is applied ...