diff --git a/slides/dunemodule.md b/slides/dunemodule.md index 0e981f93f09645d2059921265636957624242b56..8c6657bb751fb752c596f4c9d4f19a5815c47a6e 100644 --- a/slides/dunemodule.md +++ b/slides/dunemodule.md @@ -19,6 +19,19 @@ But where? ## The Dune/Dumux Suite <img src=img/dependenciesMyModule.png width="100%"> +## How are these modules linked? +Modules are linked via the `dune.module` file, which states dependencies and suggests optional modules. + +```ini +Module: dumux-appl +Version: 1.0 +Maintainer: user@dumux.de +# Required build dependencies +Depends: dumux dune-alugrid dune-foamgrid dune-uggrid +# Optional build dependencies +#Suggests: +``` + ## Creating a new dune module Start the script `duneproject` to initiate creating a new module: @@ -26,8 +39,8 @@ Start the script `duneproject` to initiate creating a new module: ./dune-common/bin/duneproject ``` -## How are these modules linked? -Compile modules via: +## How are these modules built? +Configuring and compiling the stack of modules is done via the script `dunecontrol`: ```bash ./dune-common/bin/dunecontrol --opts=dumux/cmake.opts all