Skip to content

Exercises for the Numerical Simulation Laboratory by Prof. D.E. Galli

Notifications You must be signed in to change notification settings

teozec/numerical-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

numerical-simulation

A collection of solved exercises for the Numerical simulation laboratory course (EN, IT), held by Prof. Davide Emilio Galli in 2021.

Building

To build all the exercises, please run:

make all

If you only wish to build the exercises for lesson 1, run:

make 1

Executing

To run exercise, for example, 1.2, make sure that the directory 1/data/ exists, then execute the following:

cd 1/
./1.2

Visualizing the results

Finally, to check the results of the simulations and perform the final data analysis, you can run

jupyter lab

and navigate to the desired notebook situated inside the exercise directory.

If needed, the C++ code is situated in the src/ subdirectory in each exercise. Sometimes, the executable is a shell script that calls a compiled binary, such as 4.3 which calls 4.3.bin.

About

Exercises for the Numerical Simulation Laboratory by Prof. D.E. Galli

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published