Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-multimesh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Praetorius, Simon
dune-multimesh
Commits
38e5bce1
Commit
38e5bce1
authored
6 years ago
by
Praetorius, Simon
Browse files
Options
Downloads
Patches
Plain Diff
add TODO imformation
parent
7d8a60fd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+15
-4
15 additions, 4 deletions
README.md
with
15 additions
and
4 deletions
README.md
+
15
−
4
View file @
38e5bce1
...
@@ -19,7 +19,7 @@ In the modules root directory. Required dependencies are the modules
...
@@ -19,7 +19,7 @@ In the modules root directory. Required dependencies are the modules
-
dune-common
-
dune-common
-
dune-grid
-
dune-grid
and optionally you may provide
different
grid modules that can be used with
and optionally you may provide
various
grid modules that can be used with
dune-multimesh, e.g.
dune-multimesh, e.g.
-
dune-alugrid
-
dune-alugrid
-
dune-foamgrid
-
dune-foamgrid
...
@@ -36,7 +36,7 @@ using HostGrid = ALUGrid<2, 2, simplex, conforming>;
...
@@ -36,7 +36,7 @@ using HostGrid = ALUGrid<2, 2, simplex, conforming>;
MultiMesh
<
HostGrid
>
multimesh
(
2
);
MultiMesh
<
HostGrid
>
multimesh
(
2
);
```
```
If the host-grid allows to pass arguments to its constructo, these can be
If the host-grid allows to pass arguments to its constructo
r
, these can be
appended to the MultiMesh constructor after the size argument, e.g.
appended to the MultiMesh constructor after the size argument, e.g.
```
c++
```
c++
...
@@ -47,10 +47,10 @@ MultiMesh<HostGrid> multimesh(2, filename);
...
@@ -47,10 +47,10 @@ MultiMesh<HostGrid> multimesh(2, filename);
Since grids are not copy-constructable, all grids in a MultiMesh are constructed
Since grids are not copy-constructable, all grids in a MultiMesh are constructed
from scratch from the same arguments or the same grid-factory, to guarantee
from scratch from the same arguments or the same grid-factory, to guarantee
that the coarse-grid level is the same in all grids. When using a
`GridFactory`
that the coarse-grid level is the same in all grids. When using a
`GridFactory`
with MultiMesh, it is required to set the number grids to create in the
with MultiMesh, it is required to set the number
of
grids to create in the
GridFactory constructor. This is different to other GridFactories. The default-
GridFactory constructor. This is different to other GridFactories. The default-
constructor creates one grid only. (This is just to be conform the the
constructor creates one grid only. (This is just to be conform the the
GridFactory interface). In order to use, e.g. structured grid-factory builders,
GridFactory interface). In order to use, e.g.
,
structured grid-factory builders,
you have to pass the MultiMesh GridFactory:
you have to pass the MultiMesh GridFactory:
```
c++
```
c++
...
@@ -63,3 +63,14 @@ auto gridPtr = Factory::createSimplexGrid(gridFactory, lower, upper, num);
...
@@ -63,3 +63,14 @@ auto gridPtr = Factory::createSimplexGrid(gridFactory, lower, upper, num);
Since the dune-grid StructuredGridFactory does not allow to pass an own
Since the dune-grid StructuredGridFactory does not allow to pass an own
GridFactory object to fill, a modified StructuredGridFactory is provided in the
GridFactory object to fill, a modified StructuredGridFactory is provided in the
utility folder, called
`StructuredGridBuilder`
.
utility folder, called
`StructuredGridBuilder`
.
TODO
----
The current implementation is very limited. Several things need to be
implemented:
-
Parallelization, especially load-balance for more than one grid
-
Abstraction of the MultiEntity. Currently its just a vector of entities. It
would be better to have an order relation, e.g. by grid-level, to allow for a
fast access to the smallest and largest entity.
-
Provide Interpolation / hierarchic Geometry-Objects, like the geometryInFather
for father-child relations.
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