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

Per-thread buffers for the coarsening composite, so it allocates nothing. More...

Public Attributes

std::vector< size_t > ring
 
std::vector< size_t > frontier
 
std::vector< size_t > next
 
std::vector< size_t > one_ring
 
std::vector< uint32_t > stamp
 
uint32_t epoch = 0
 
VertexAttributes saved_vertex
 
std::vector< std::pair< size_t, double > > saved_qualities
 

Detailed Description

Per-thread buffers for the coarsening composite, so it allocates nothing.

saved_* holds one vertex's attributes and the quality of its incident cells, which is everything an individual smooth writes – smooth_vertex_3d returns false only after having written both, deliberately (see its contract), so a rejected smooth has to be undone by its caller.


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