Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
wmtk::components::simwild::QualityGroup Struct Reference

Quality of the cells governed by one entry of the quality field. More...

#include <QualityStats.hpp>

Public Member Functions

double avg_quality () const
 
double max_relative () const
 Quality relative to this group's own target – the number the stopping criterion sees.
 

Public Attributes

std::string label
 The expression as written in the spec, or "(default)" for the fallback group.
 
double target = 0.
 The target the optimizer applies to this group – the entry's value, or stop_energy.
 
double max_quality = -1.
 Largest and summed ABSOLUTE quality; avg_quality divides the sum by count.
 
double sum_quality = 0.
 
size_t count = 0
 

Detailed Description

Quality of the cells governed by one entry of the quality field.

target_quality resolves a cell's target by scanning the quality field and keeping the LAST expression that matches, so a cell belongs to exactly one group: the last matching entry, or the default group when none match. The groups therefore partition the mesh, and each group's target is the one the optimizer actually applies to those cells.


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