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

derive some method from the super class in MacroGridFactory

parent 4e38a30a
No related branches found
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.
Finish editing this message first!
Please register or to comment