Loading...
Searching...
No Matches
meshkit::GenerationProgress Struct Reference

Counter snapshot passed to ConstrainedDelaunay::QualityOptions::onProgress during refineQuality(). More...

#include <meshkit/progress.hpp>

Collaboration diagram for meshkit::GenerationProgress:

Public Types

enum class  Stage {
  Refining ,
  Smoothing ,
  Terrain ,
  Coarsening ,
  Verifying
}
 Refinement phase being run. More...
 

Public Attributes

Stage stage = Stage::Refining
 Phase being run.
 
std::int64_t workingVertices = 0
 Working vertex slots, excluding the three super-triangle vertices.
 
std::int64_t triangles = 0
 Live triangle count.
 
std::int64_t quads = 0
 Quadrilateral count; refineQuality() leaves it 0 for the caller to fill.
 
std::int64_t inserted = 0
 Vertices inserted so far, segment splits included.
 
std::int64_t removed = 0
 Vertices removed by coarsening so far.
 

Detailed Description

Counter snapshot passed to ConstrainedDelaunay::QualityOptions::onProgress during refineQuality().

Published at the start, when each phase begins, periodically within phases and once at the end; the values are advisory.

Member Enumeration Documentation

◆ Stage

Refinement phase being run.

Enumerator
Refining 

Size and angle refinement, and later the sizing-repair passes.

Smoothing 

Non-degrading smoothing of free vertices.

Terrain 

Worst-first insertion of terrain points.

Coarsening 

Removal of free vertices.

Verifying 

Final terrain check of every live triangle.

Member Data Documentation

◆ inserted

std::int64_t meshkit::GenerationProgress::inserted = 0

Vertices inserted so far, segment splits included.

◆ quads

std::int64_t meshkit::GenerationProgress::quads = 0

Quadrilateral count; refineQuality() leaves it 0 for the caller to fill.

◆ removed

std::int64_t meshkit::GenerationProgress::removed = 0

Vertices removed by coarsening so far.

◆ stage

Stage meshkit::GenerationProgress::stage = Stage::Refining

Phase being run.

◆ triangles

std::int64_t meshkit::GenerationProgress::triangles = 0

Live triangle count.

◆ workingVertices

std::int64_t meshkit::GenerationProgress::workingVertices = 0

Working vertex slots, excluding the three super-triangle vertices.


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