dune-grid  2.11
concepts/entityiterator.hh
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
2 // SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
3 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
4 // vi: set et ts=4 sw=2 sts=2:
5 #ifndef DUNE_GRID_CONCEPTS_ENTITY_ITERATOR_HH
6 #define DUNE_GRID_CONCEPTS_ENTITY_ITERATOR_HH
7 
8 #include <concepts>
9 #include <iterator>
10 
12 
13 namespace Dune::Concept {
14 
20 template<class It>
21 concept EntityIterator =
22  std::forward_iterator<It> &&
23  std::default_initializable<It> &&
25 
26 } // end namespace Dune::Concept
27 
28 #endif // DUNE_GRID_CONCEPTS_ENTITY_ITERATOR_HH
Definition: concepts/datahandle.hh:14
Wrapper class for entities.
Definition: common/entity.hh:65
interface class for an iterator over grid entities
Definition: common/entityiterator.hh:31