Peano
Loading...
Searching...
No Matches
FaceHeapDataEnumerator.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 "FaceEnumerator.h"
12
13
14namespace peano4 {
15 namespace datamanagement {
16 template <class Face>
17 class FaceHeapDataEnumerator;
18 }
19}
20
21
60template <class Face>
62 private:
63 std::vector<Face> _faces;
64
65 public:
70
75 Face& operator()(int i);
76
77 const Face& operator()(int i) const;
78};
79
80
81#include "FaceHeapDataEnumerator.cpph"
Enumerator over an array of faces.
Enumerator over copies of the faces of a cell.
FaceHeapDataEnumerator(const FaceEnumerator< Face > &faces)
Copy the 2d faces the enumerator points to.
Face & operator()(int i)
Access the copy of face i.