Making it work in one dimension
As simple as the formulations in the last chapter appear, there is often a leap between mathematical formulations and an actual implementation of the algorithms. This is particularly true when one considers important issues such as efficiency, flexibility, and robustness of the resulting methods.
In this chapter we address these issues by first discussing details such as the form of the local basis and, subsequently, how one implements the nodal DG-FEMs in a flexible way. To keep things simple, we continue the emphasis on one-dimensional linear problems, although this results in a few apparently unnecessarily complex constructions. We ask the reader to bear with us, as this slightly more general approach will pay off when we begin to consider more complex nonlinear and/or higher-dimensional problems.
KeywordsLegendre Polynomial Jacobi Polynomial Quadrature Point Monomial Basis Vandermonde Matrix
Unable to display preview. Download preview PDF.