Commit c635cda5 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

add missing constructor argument in entity

parent ab2a7fc2
Pipeline #4792 passed with stage
in 8 minutes and 58 seconds
......@@ -373,31 +373,31 @@ public:
typename Grid::template Codim<codim>::Entity subEntity (int i) const
{
using EntityImpl = typename Traits::template Codim<codim>::EntityImpl;
return EntityImpl(Super::gridFunction(), Super::hostEntity(), i);
return EntityImpl(Super::gridFunction(), Super::hostEntity(), i, Super::order());
}
LevelIntersectionIterator ilevelbegin () const
{
using IteratorImpl = Curved::IntersectionIterator<Grid, typename HostGrid::LevelIntersectionIterator>;
return IteratorImpl(*this, Super::hostEntity().ilevelbegin());
return IteratorImpl(*this, Super::hostEntity().ilevelbegin(), Super::order());
}
LevelIntersectionIterator ilevelend () const
{
using IteratorImpl = Curved::IntersectionIterator<Grid, typename HostGrid::LevelIntersectionIterator>;
return IteratorImpl(*this, Super::hostEntity().ilevelend());
return IteratorImpl(*this, Super::hostEntity().ilevelend(), Super::order());
}
LeafIntersectionIterator ileafbegin () const
{
using IteratorImpl = Curved::IntersectionIterator<Grid, typename HostGrid::LeafIntersectionIterator>;
return IteratorImpl(*this, Super::hostEntity().ileafbegin());
return IteratorImpl(*this, Super::hostEntity().ileafbegin(), Super::order());
}
LeafIntersectionIterator ileafend () const
{
using IteratorImpl = Curved::IntersectionIterator<Grid, typename HostGrid::LeafIntersectionIterator>;
return IteratorImpl(*this, Super::hostEntity().ileafend());
return IteratorImpl(*this, Super::hostEntity().ileafend(), Super::order());
}
bool hasBoundaryIntersections () const
......@@ -412,7 +412,7 @@ public:
EntityFacade father () const
{
return Entity(Super::gridFunction(), Super::hostEntity().father());
return Entity(Super::gridFunction(), Super::hostEntity().father(), Super::order());
}
bool hasFather () const
......@@ -428,13 +428,13 @@ public:
HierarchicIterator hbegin (int maxLevel) const
{
using IteratorImpl = Curved::HierarchicIterator<G>;
return IteratorImpl(Super::gridFunction(), Super::hostEntity().hbegin(maxLevel));
return IteratorImpl(Super::gridFunction(), Super::hostEntity().hbegin(maxLevel), Super::order());
}
HierarchicIterator hend (int maxLevel) const
{
using IteratorImpl = Curved::HierarchicIterator<G>;
return IteratorImpl(Super::gridFunction(), Super::hostEntity().hend(maxLevel));
return IteratorImpl(Super::gridFunction(), Super::hostEntity().hend(maxLevel), Super::order());
}
bool isRegular () const
......
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