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

Vertex and cell counters of an operation or event; -1 marks a value not available. More...

#include <meshkit/events.hpp>

Collaboration diagram for meshkit::Counts:

Public Member Functions

std::int64_t cells () const noexcept
 Total cell count.
 

Public Attributes

std::int64_t vertices = -1
 Delivered vertex count, known once the output is assembled.
 
std::int64_t workingVertices = -1
 Working vertex slots while meshing, unused and dead slots included.
 
std::int64_t triangles = -1
 Triangle count (live triangles while refining, delivered triangles at the end).
 
std::int64_t quads = -1
 Quadrilateral count.
 
std::int64_t inserted = -1
 Vertices inserted by refinement so far.
 
std::int64_t removed = -1
 Vertices removed by coarsening so far.
 

Detailed Description

Vertex and cell counters of an operation or event; -1 marks a value not available.

Member Function Documentation

◆ cells()

std::int64_t meshkit::Counts::cells ( ) const
inlinenoexcept

Total cell count.

Returns
triangles + quads, or -1 when either is unavailable or the sum would overflow.

Member Data Documentation

◆ inserted

std::int64_t meshkit::Counts::inserted = -1

Vertices inserted by refinement so far.

◆ quads

std::int64_t meshkit::Counts::quads = -1

Quadrilateral count.

◆ removed

std::int64_t meshkit::Counts::removed = -1

Vertices removed by coarsening so far.

◆ triangles

std::int64_t meshkit::Counts::triangles = -1

Triangle count (live triangles while refining, delivered triangles at the end).

◆ vertices

std::int64_t meshkit::Counts::vertices = -1

Delivered vertex count, known once the output is assembled.

◆ workingVertices

std::int64_t meshkit::Counts::workingVertices = -1

Working vertex slots while meshing, unused and dead slots included.


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