Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Attributes | List of all members
wmtk::TetMesh::RingLockScratch Struct Reference

Per-thread buffers for the n-ring lock, so a lock acquisition allocates nothing. More...

Public Attributes

std::vector< uint32_t > stamp
 
uint32_t epoch = 0
 
std::vector< size_t > frontier
 
std::vector< size_t > next
 
std::vector< size_t > one_ring
 

Detailed Description

Per-thread buffers for the n-ring lock, so a lock acquisition allocates nothing.

stamp[vid] == epoch marks a vertex already in the ball being built; the epoch is bumped per acquisition instead of clearing the vector.


The documentation for this struct was generated from the following file: