29template <
typename scalarType,
class triangulationType>
37#ifdef TTK_ENABLE_OPENMP
40#ifdef TTK_ENABLE_OMP_PRIORITY
41 if(omp_get_max_task_priority() < 5) {
42 this->
printWrn(
"OpenMP max priority is lower than 5");
59 if(::std::numeric_limits<scalarType>::has_quiet_NaN) {
60#ifdef TTK_ENABLE_OPENMP
61#pragma omp parallel for
64 if(::std::isnan((
double)(((scalarType *)
scalars_->values)[i]))) {
65 ((scalarType *)
scalars_->values)[i] = 0;
121 sortInput<scalarType>();
int printWrn(const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
void build(const triangulationType *mesh, TreeType tt)
FTMTree_MT * getSplitTree()
int setDebugLevel(const int &d) override
FTMTree_MT * getJoinTree()
void finalizeSegmentation()
std::shared_ptr< Params > params_
void initNbScalars(const triangulationType *triangulation)
void makeAlloc()
clear local data for new computation
void finalizeSegmentation()
int printTime(Timer &t, const std::string &s, const int debugLevel=2) const
void buildSegmentation()
use vert2tree to compute the segmentation of the fresh built merge tree.
std::shared_ptr< Scalars > scalars_
void build(const triangulationType *mesh)
int SimplexId
Identifier type for simplices of any dimension.