1#ifndef DUNE_FEM_GRIDPART_IDGRIDPART_ITERATOR_HH
2#define DUNE_FEM_GRIDPART_IDGRIDPART_ITERATOR_HH
8#include <dune/grid/common/gridenums.hh>
19 template<
int codim, PartitionIteratorType pitype,
class Gr
idFamily >
22 typedef typename std::remove_const< GridFamily >::type::Traits Traits;
24 typedef typename Traits::HostGridPartType HostGridPartType;
27 typedef typename Traits::ExtraData ExtraData;
28 typedef typename HostGridPartType::template Codim< codim >::template Partition< pitype >::IteratorType HostIteratorType;
30 typedef typename Traits::template Codim< codim >::Entity Entity;
32 IdIterator () =
default;
34 IdIterator ( ExtraData data, HostIteratorType hostIterator )
35 : data_(
std::move( data ) ),
36 hostIterator_(
std::move( hostIterator ) )
44 Entity dereference ()
const
49 bool equals (
const IdIterator &rhs )
const
51 return hostIterator_ == rhs.hostIterator_;
56 return hostIterator_.level();
61 HostIteratorType hostIterator_;
EntityImp< cd, dim, GridImp > Implementation
type of underlying implementation
Definition: entity.hh:73
Various macros to work with Dune module version numbers.
constexpr auto equals(T1 &&t1, T2 &&t2)
Equality comparison.
Definition: hybridutilities.hh:587
Dune namespace.
Definition: alignedallocator.hh:13