step-1


step-1, a dealii code which creates and plots two simple grids.

DEAL.II has an examples directory, and the first example is in the step-1 subdirectory. I would recommend making your own working directory, and copying from the /usr/local/dealii/examples/step-1 directory the following two files

Now in that directory, you need to create, one time, the necessary makefile, by issuing a command something like:

        cmake -DDEAL_II_DIR=/usr/local/dealii .
      

If all goes well, then you can run the step-1 example by

        make run
      

Reference:

  1. Wolfgang Bangerth, Ralf Hartmann, Guido Kanschat,
    DEAL.II - a general-purpose object-oriented finite element library,
    ACM Transactions on Mathematical Software,
    Volume 33, Number 4, article 24, August 2007.

Source code:


Last revised on 22 May 2020.