Peano
Loading...
Searching...
No Matches
VertexHeapDataEnumerator.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5
6#include <vector>
7
9#include "tarch/Assertions.h"
10
11#include "VertexEnumerator.h"
12
13
14namespace peano4 {
15 namespace datamanagement {
16 template <class Vertex>
17 class VertexHeapDataEnumerator;
18 }
19}
20
21
37template <class Vertex>
39 private:
40 std::vector<Vertex> _vertices;
41
42 public:
47
52 Vertex& operator()(int i);
53
54 const Vertex& operator()(int i) const;
55};
56
57
58#include "VertexHeapDataEnumerator.cpph"
Enumerator over copies of the vertices of a cell.
Vertex & operator()(int i)
Access the copy of vertex i.
VertexHeapDataEnumerator(const VertexEnumerator< Vertex > &vertices)
Copy the 2^d vertices the enumerator points to.
Vertex enumerator within array.