Skip to content
Snippets Groups Projects
Commit 36ba1b66 authored by IvBu's avatar IvBu
Browse files

[dunemodule] Add extra slides.

parent 1c424001
No related branches found
No related tags found
1 merge request!177Fix empty slides
Pipeline #30502 waiting for manual action
...@@ -19,12 +19,20 @@ But where? ...@@ -19,12 +19,20 @@ But where?
## The Dune/Dumux Suite ## The Dune/Dumux Suite
<img src=img/dependenciesMyModule.png width="100%"> <img src=img/dependenciesMyModule.png width="100%">
## How are these models linked? ## How are these modules linked?
Compile modules via:
```bash ```bash
./dune-common/bin/dunecontrol --opts=dumux/cmake.opts all ./dune-common/bin/dunecontrol --opts=dumux/cmake.opts all
``` ```
## Creating a new dune module
Start the script `duneproject` to initiate creating a new module:
```bash
./dune-common/bin/duneproject
```
## Adding test cases to an `appl` folder ## Adding test cases to an `appl` folder
- Adjust the - Adjust the
...@@ -36,6 +44,16 @@ But where? ...@@ -36,6 +44,16 @@ But where?
- Adjust the `CMakeLists.txt` file. - Adjust the `CMakeLists.txt` file.
- Reconfigure your module. - Reconfigure your module.
## Pushing an existing folder to an empty git repository
```bash
cd my-module-folder
git init --initial-branch=main
git remote add origin https://git.iws.uni-stuttgart.de/Namespace/my-module.git
git add .
git commit -m "Initial commit"
git push -u origin main
```
## [Exercises](https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/tree/master/exercises/exercise-dunemodule): ## [Exercises](https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/tree/master/exercises/exercise-dunemodule):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment