diff --git a/slides/dunemodule.md b/slides/dunemodule.md index c678443022be5d3505f09db4d62a489fed327d9c..d4470aa9f185aec7680a1eb096ff77bb540eef07 100644 --- a/slides/dunemodule.md +++ b/slides/dunemodule.md @@ -19,12 +19,20 @@ But where? ## The Dune/Dumux Suite <img src=img/dependenciesMyModule.png width="100%"> -## How are these models linked? +## How are these modules linked? +Compile modules via: ```bash ./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 - Adjust the @@ -36,6 +44,16 @@ But where? - Adjust the `CMakeLists.txt` file. - 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):