|
waLBerla 7.2
|
Convenience class to enable range based for loops over grid points.
Usage:
#include <HCPIterator.h>
Public Types | |
| using | iterator = HCPIterator |
| using | value_type = iterator::value_type |
Public Member Functions | |
| HCPGrid (const AABB &domain, const Vector3< real_t > &pointOfReference, const real_t spacing) | |
| HCPIterator | begin () |
| HCPIterator | begin () const |
| HCPIterator | cbegin () const |
| HCPIterator | end () |
| HCPIterator | end () const |
| HCPIterator | cend () const |
Private Attributes | |
| AABB | domain_ |
| Vector3< real_t > | pointOfReference_ |
| real_t | spacing_ |
|
inline |
| domain | volume were lattice points will be returned |
| pointOfReference | point somewhere in the world which fixes the lattice |
| spacing | spacing between grid points in x direction |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |