Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
1f2f20b7
Commit
1f2f20b7
authored
Mar 07, 2021
by
Timo Koch
Browse files
Merge branch 'fix/examples-pnm' into 'master'
[examples][pnm] Run generate_example_docs.py See merge request
!2514
parents
e0018206
e0d0a5cd
Changes
3
Hide whitespace changes
Inline
Side-by-side
examples/porenetwork_upscaling/doc/main.md
View file @
1f2f20b7
...
...
@@ -44,8 +44,8 @@ Pore-Network-Model to evaluate the upscaled Darcy permeability of a given networ
#include
<dumux/io/grid/gridmanager_yasp.hh>
#include
<dumux/io/grid/porenetwork/gridmanager.hh>
// for pore-network grid
#include
<dumux/porenetwork
flow
/common/pnmvtkoutputmodule.hh>
#include
<dumux/porenetwork
flow
/common/boundaryflux.hh>
// for getting the total mass flux leaving the network
#include
<dumux/porenetwork/common/pnmvtkoutputmodule.hh>
#include
<dumux/porenetwork/common/boundaryflux.hh>
// for getting the total mass flux leaving the network
#include
"upscalinghelper.hh"
#include
"properties.hh"
...
...
@@ -245,3 +245,4 @@ catch (const Dune::Exception &e)
|
[
:arrow_left: Back to the main documentation
](
../README.md
)
|
[
:arrow_left: Go back to part 1
](
problem.md
)
|
[
:arrow_right: Continue with part 3
](
upscalinghelper.md
)
|
|---|---|---:|
examples/porenetwork_upscaling/doc/problem.md
View file @
1f2f20b7
...
...
@@ -23,7 +23,7 @@ which we specialize a number of compile-time `properties`.
```
cpp
#include
<dune/grid/
yasp
grid.hh>
// for `Dune::
Yasp
Grid`
#include
<dune/
foam
grid/
foam
grid.hh>
// for `Dune::
Foam
Grid`
```
The
`OneP`
type tag specializes most of the
`properties`
required for single-
...
...
@@ -32,7 +32,7 @@ respective properties, and subsequently specialize those properties for our
type tag, which we want to modify or for which no meaningful default can be set.
```
cpp
#include
<dumux/porenetwork
flow
/1p/model.hh>
// for `TTag::PNMOneP`
#include
<dumux/porenetwork/1p/model.hh>
// for `TTag::PNMOneP`
```
The local residual for incompressible flow is included.
...
...
examples/porenetwork_upscaling/doc/upscalinghelper.md
View file @
1f2f20b7
...
...
@@ -37,6 +37,11 @@ the pore network in flow direction in order to find the upscaled Darcy permeabil
```
cpp
#include
<iostream>
#include
<ostream>
#include
<iomanip>
#include
<numeric>
#include
<functional>
namespace
Dumux
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment