Programming of Finite Element Solvers

  • Hans Petter Langtangen
Part of the Lecture Notes in Computational Science and Engineering book series (LNCSE, volume 2)


The present chapter explains the usage of the finite element toolbox in Diffpack. The model problems are kept quite simple in order to concentrate on programming details. In Chapters 3.1–1.7 we deal with the Poisson equation. A trivial extension to the convection-diffusion equation is exemplified in Chapter 3.8. Chapters 3.9 and 3.10 demonstrate that only minor extensions of the Poisson equation solvers are needed to handle time-dependent problems, in this case the heat equation. Finally, Chapter 3.11 brings in some new tools for particularly efficient solution of PDEs with time-independent coefficients. The required background for working with this chapter is knowledge of the finite element method (at least the material corresponding to Chapters 2.1–2.7) and basic concepts in C++ and Diffpack (at least Chapters 1.1–1.3, 1.5.1–1.5.3, and 1.5.5; Chapter 1.6 is also useful).


Input File Adaptive Grid Essential Boundary Condition Menu Item Virtual Function 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 1999

Authors and Affiliations

  • Hans Petter Langtangen
    • 1
  1. 1.Mechanics Division, Department of MathematicsUniversity of OsloOsloNorway

Personalised recommendations