Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux-course
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux-course
Commits
36ba1b66
Commit
36ba1b66
authored
1 year ago
by
IvBu
Browse files
Options
Downloads
Patches
Plain Diff
[dunemodule] Add extra slides.
parent
1c424001
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!177
Fix empty slides
Pipeline
#30502
waiting for manual action
Stage: trigger pipelines
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
slides/dunemodule.md
+19
-1
19 additions, 1 deletion
slides/dunemodule.md
with
19 additions
and
1 deletion
slides/dunemodule.md
+
19
−
1
View file @
36ba1b66
...
@@ -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):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment