Skip to content
Snippets Groups Projects
Commit 61723d07 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/macro_grid_factory_super' into 'master'

derive some method from the super class in MacroGridFactory

See merge request !106
parents 7e2e092b f5f7b7e5
Branches
No related tags found
1 merge request!106derive some method from the super class in MacroGridFactory
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment