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
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment