These codes are prepared as material for teaching finite element method.
- deal.II: Examples using deal.II library in C++
- fenics: Examples using Fenics in Python
- dg1d: A simple 1-D DG code in Python for scalar conservation law
(1) The easiest way is by using git which will download the code in directory fem
git clone https://github.com/cpraveen/fem.git
(2) Download a zip file by clicking on the green button called "Code" and then "Download ZIP".
(3) Or use wget
wget https://github.com/cpraveen/fem/archive/master.zip
and unzip it
unzip master.zip
which creates the directory fem-master.
- fem50: matlab codes for 2d BVP
- juliafem: julia codes for 2d BVP
- deal.II: more deal.II examples
- fenics: more fenics examples
Some of the examples require additional software.