22 #include <LbmLib/include/Direction.hpp>
27 Direction getInverseDirection(
const Direction& d) {
59 "you want to get a inverse direction of Direction that does not exist");
64 return directions_.begin();
68 return directions_.end();
71 std::array<Direction, 9> DirectionIterator::directions_ = {{T, E, N, W, S, NE, NW, SW, SE}};
74 return directions_.begin();
78 return directions_.end();
81 std::array<Direction, 4> CDEDirectionsIteratorD2Q4::directions_ = {{E, N, W, S}};
85 return directions_.begin();
89 return directions_.end();
92 std::array<Direction, 5> CDEDirectionsIteratorD2Q5::directions_ ={ {T, E, N, W, S}};
std::array< Direction, 4 >::const_iterator end() const
end To allow ranged based loop to iterate over this class
std::array< Direction, 9 >::const_iterator begin() const
begin To allow ranged based loop to iterate over this class
std::array< Direction, 4 >::const_iterator begin() const
begin To allow ranged based loop to iterate over this class
std::array< Direction, 9 >::const_iterator end() const
end To allow ranged based loop to iterate over this class
std::array< Direction, 5 >::const_iterator end() const
end To allow ranged based loop to iterate over this class
std::array< Direction, 5 >::const_iterator begin() const
begin To allow ranged based loop to iterate over this class