Loading...
Searching...
No Matches
mesh::SizingAuditOptions Struct Reference

Limits, budgets and callbacks for auditMeshSizing(). More...

#include <mesh/sizingaudit.h>

Collaboration diagram for mesh::SizingAuditOptions:

Public Attributes

double minimumTarget = 0
 Advisory smallest nominal size; smaller cells are counted and flagged BelowTarget but do not fail SizingAuditReport::limitsSatisfied().
 
double maximumSize = 0
 Global largest nominal size.
 
double minimumEdge = 0
 Hard floor for the shortest edge of every cell.
 
double adjacentRatio = 0
 Largest ratio of nominal sizes across a shared face; must be >= 1 when nonzero.
 
std::function< double(const QRectF &)> footprintMaximum
 Optional nominal-size bound, called synchronously once per cell with its XY bounding box.
 
std::function< bool()> cancelled
 Optional cancellation poll, called synchronously at the start and every 4096 work units.
 
quint64 maximumWorkspaceBytes = quint64(1) << 30
 Estimated limit for the face records, cell sizes and constraint keys (1 GiB by default); when exceeded, no cell is checked and the report is resource limited.
 
quint64 workBudget = 0
 Work-unit limit; 0 selects 1024 per cell plus 100,000.
 
int maximumExamples = 20
 Example records kept, clamped to [0, 1000].
 

Detailed Description

Limits, budgets and callbacks for auditMeshSizing().

Sizes and lengths are XY lengths in the mesh's planar units. Every numeric limit must be finite and nonnegative, and 0 disables it. Comparisons carry a relative tolerance of 1e-9.

Member Data Documentation

◆ adjacentRatio

double mesh::SizingAuditOptions::adjacentRatio = 0

Largest ratio of nominal sizes across a shared face; must be >= 1 when nonzero.

◆ cancelled

std::function<bool()> mesh::SizingAuditOptions::cancelled

Optional cancellation poll, called synchronously at the start and every 4096 work units.

◆ footprintMaximum

std::function<double(const QRectF &)> mesh::SizingAuditOptions::footprintMaximum

Optional nominal-size bound, called synchronously once per cell with its XY bounding box.

◆ maximumExamples

int mesh::SizingAuditOptions::maximumExamples = 20

Example records kept, clamped to [0, 1000].

◆ maximumSize

double mesh::SizingAuditOptions::maximumSize = 0

Global largest nominal size.

◆ maximumWorkspaceBytes

quint64 mesh::SizingAuditOptions::maximumWorkspaceBytes = quint64(1) << 30

Estimated limit for the face records, cell sizes and constraint keys (1 GiB by default); when exceeded, no cell is checked and the report is resource limited.

◆ minimumEdge

double mesh::SizingAuditOptions::minimumEdge = 0

Hard floor for the shortest edge of every cell.

◆ minimumTarget

double mesh::SizingAuditOptions::minimumTarget = 0

Advisory smallest nominal size; smaller cells are counted and flagged BelowTarget but do not fail SizingAuditReport::limitsSatisfied().

◆ workBudget

quint64 mesh::SizingAuditOptions::workBudget = 0

Work-unit limit; 0 selects 1024 per cell plus 100,000.


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