Skip to content

michelebucelli/nmpde-labs-aa-22-23

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Numerical Methods for Partial Differential Equations: laboratory material

Required software

The laboratories rely on the deal.II finite element library (official website, GitHub repository), which is already available in mk modules (through module load gcc-glibc dealii - you don't have to download anything).

For the visualization of numerical solutions, we will use Paraview (official website). Please download and install it in advance from their download page. Notice that Paraview should be installed on the host system, not inside the Docker container.

Laboratory folder structure

Each laboratory has its own folder lab-XY, containing:

  • a sub-folder lab-XY/text, with the text of the exercises;
  • a sub-folder lab-XY/src, with the starting source code;
  • a file CMakeLists.txt, used by CMake for the configuration and compilation;
  • a sub-folder lab-XY/solution (added after the lecture), with the solution to the exercises (both theory and code).

The laboratory folders will be uploaded during the course.

Compiling

To build the executable for a laboratory, make sure you have loaded the needed modules with

$ module load gcc-glibc dealii

Then, from the folder lab-XY, run the following commands:

$ mkdir build
$ cd build
$ cmake ..
$ make

The executable for the laboratory will be created into lab-XY/build, and can be executed through

$ ./lab-XY

Examples folder

The repository contains a folder examples, that will contain short examples of code. Examples will be added during the course: refer to the README.md file in each example subfolder for information on each example and building instructions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published