TTK
Loading...
Searching...
No Matches
Namespaces | Functions
OrderDisambiguation.h File Reference
#include <BaseClass.h>
#include <algorithm>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  ttk
 The Topology ToolKit.
 

Functions

template<typename scalarType , typename idType >
void ttk::sortVertices (const size_t nVerts, const scalarType *const scalars, const idType *const offsets, SimplexId *const order, const int nThreads)
 Sort vertices according to scalars disambiguated by offsets.
 
template<typename scalarType >
void ttk::preconditionOrderArray (const size_t nVerts, const scalarType *const scalars, SimplexId *const order, const int nThreads=ttk::globalThreadNumber_)
 Precondition an order array to be consumed by the base layer API.