Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
f5f7b7e5
Commit
f5f7b7e5
authored
Sep 24, 2019
by
Praetorius, Simon
Browse files
derive some method from the super class in MacroGridFactory
parent
4e38a30a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/amdis/utility/MacroGridFactory.hpp
View file @
f5f7b7e5
...
...
@@ -19,6 +19,7 @@ namespace Dune
:
public
GridFactoryInterface
<
GridType
>
{
using
Self
=
GridFactory
;
using
Super
=
GridFactoryInterface
<
GridType
>
;
using
ctype
=
typename
GridType
::
ctype
;
enum
{
dim
=
GridType
::
dimension
};
...
...
@@ -70,6 +71,8 @@ namespace Dune
}
}
using
Super
::
insertElement
;
/// \brief insert a boundary segment
// TODO: maybe split boundary segment in simplices
void
insertBoundarySegment
(
const
std
::
vector
<
unsigned
int
>&
vertices
)
override
...
...
@@ -77,6 +80,8 @@ namespace Dune
factory_
->
insertBoundarySegment
(
vertices
);
}
using
Super
::
insertBoundarySegment
;
/// \brief Finalize grid creation and hand over the grid
#if DUNE_VERSION_GT(DUNE_GRID,2,6)
ToUniquePtr
<
GridType
>
createGrid
()
override
...
...
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