Define T8_DVERTEX_MAXLEVEL

Define Documentation

T8_DVERTEX_MAXLEVEL

The maximum refinement level allowed for a vertex. The max level is lower than 255 so that we can use an uint8_t to iterate to maxlevel: for (uint8_t level = 0; level <= T8_DVERTEX_MAXLEVEL; ++level) Otherwise, uint8_t would overflow after 255 and we would have an infinite loop.