libsurf
Programmer's Documentation

Public Member Functions | Private Attributes | List of all members
DnTriangleQueue Class Reference

Detailed Description

Priority queue for adaptive mesh refinement.

See Also
DnMesh

#include <dnrefine.h>

Collaboration diagram for DnTriangleQueue:
[legend]

Public Member Functions

 DnTriangleQueue (const DnCriterion &crit, const DnTriangleArray &t)
 construct queue
 
void refill ()
 put all critical triangles into queue
 
uint size () const
 number of triangles left to refine
 
bool empty () const
 no more triangles left?
 
uint next (Real &cval)
 retrieve next critical triangle to refine
 

Private Attributes

const DnTriangleArray & triangles
 triangle array
 
const DnCriterioncrit
 quality criterion (returns > 1 if refinement necessary)
 
TqArray irf
 indices of triangles waiting for refinement
 

The documentation for this class was generated from the following files:
Generated on Wed Jan 19 2022 03:03:16 for libsurf by   doxygen 1.8.5