Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
459b609
[il-ext] setting up gui
julien-tierny May 22, 2026
7ee52a8
[il-ext] vpath helper
julien-tierny May 23, 2026
05c69ec
[il-ext] setting up classes
julien-tierny May 23, 2026
603e280
[il-ext] mpi run check
julien-tierny May 27, 2026
cd1733a
[il-ext] setting up dcg
julien-tierny May 27, 2026
f2deb8a
Merge branch 'gradient' of https://github.com/julien-tierny/ttk-tiern…
julien-tierny May 27, 2026
fe1eb51
[il-ext] setup discrete gradient (fetch & compute)
julien-tierny May 27, 2026
ac711ab
[il-ext] timing and warnings
julien-tierny May 27, 2026
de51940
Merge branch 'dev' of https://github.com/topology-tool-kit/ttk into g…
julien-tierny May 27, 2026
8b1d2d8
[il-ext] vpath comments
julien-tierny May 28, 2026
e7f2ee0
[il-ext] vpath point set setup
julien-tierny May 28, 2026
65f501b
[il-ext] visualized output points
julien-tierny May 28, 2026
f0c295f
[il-ext] vpath output geometry
julien-tierny May 31, 2026
288b81c
[il-ext] multiple vpath geometries
julien-tierny May 31, 2026
aac12cb
[il-ext] working on forks
julien-tierny Jun 1, 2026
6b709be
[il-ext] simplex seed (vtk layer)
julien-tierny Jun 2, 2026
278f372
[il-ext] vpath arbitrary dim, with forking
julien-tierny Jun 2, 2026
b160322
[il-ext] added extra vpath fields
julien-tierny Jun 2, 2026
a388156
[il-ext] vpath cleanup
julien-tierny Jun 2, 2026
c5af6f2
[il-ext] vpath refactor
julien-tierny Jun 3, 2026
5938f4f
[il-ext] all backward v-paths from a simplex
julien-tierny Jun 5, 2026
96169e7
[il-ext] backward vpath bug
julien-tierny Jun 5, 2026
d94c25a
[il-ext] notes on discrete gradient
julien-tierny Jun 5, 2026
4a81d7d
[il-ext] vpath notes
julien-tierny Jun 5, 2026
dfb64d0
[il-ext] all ascending vpaths
julien-tierny Jun 6, 2026
38fccd9
[il-ext] setting up numerical comp
julien-tierny Jun 7, 2026
544f46b
[il-ext] added vpath length
julien-tierny Jun 7, 2026
edc1288
[il-ext] setting up numerical integral lines
julien-tierny Jun 9, 2026
c26324c
[il-ext] setting up numerical integration
julien-tierny Jun 11, 2026
2c530fe
[il-ext] numerical gradient computation
julien-tierny Jun 11, 2026
3cd4a0b
[il-ext] comment removal
julien-tierny Jun 11, 2026
37ef8b8
Merge branch 'dev' of https://github.com/topology-tool-kit/ttk into g…
julien-tierny Jul 28, 2026
f6348f5
Merge branch 'dev' of https://github.com/topology-tool-kit/ttk into g…
julien-tierny Aug 18, 2026
0f2db40
Merge branch 'dev' of https://github.com/topology-tool-kit/ttk into g…
julien-tierny Sep 4, 2026
cb6402d
Merge branch 'gradient' of https://github.com/julien-tierny/ttk-tiern…
julien-tierny Sep 4, 2026
74180e9
[nil] merges, drafting numerical integration
julien-tierny Sep 7, 2026
50d2e1a
[nil] 1D specials
julien-tierny Sep 7, 2026
28ee472
[nil] filling output data structure
julien-tierny Sep 7, 2026
0cb4b6b
[nil] move bary norm to geom
julien-tierny Sep 7, 2026
ebcb582
[nil] improved gui seed selection
julien-tierny Sep 7, 2026
aa744b4
[nil] warning removal
julien-tierny Sep 7, 2026
d4afa5d
Merge branch 'gradient' of https://github.com/julien-tierny/ttk-tiern…
julien-tierny Sep 7, 2026
163ee19
[nil] fix on discrete gradient forward vpath
julien-tierny Sep 7, 2026
5f5d1b0
Merge branch 'gradient' of https://github.com/julien-tierny/ttk-tiern…
julien-tierny Sep 8, 2026
50b8ced
[nil] edge seed fix
julien-tierny Sep 8, 2026
d2d8660
[il-ext] clang-format17
julien-tierny Sep 10, 2026
56f3262
[il-ext] upgrading ubuntu for clang-format tests
julien-tierny Sep 10, 2026
67e3690
Merge branch 'gradient' of https://github.com/julien-tierny/ttk into …
julien-tierny Sep 10, 2026
6d0a280
[il-ext] clang-format 21
julien-tierny Sep 10, 2026
0eb3049
[il-ext] downgrading to ubuntu 24 for warnings
julien-tierny Sep 10, 2026
fa9a4ee
[il-ext] ci checks downgrade ubuntu 22
julien-tierny Sep 10, 2026
1ab4c12
[il-ext] rev compiler check ci
julien-tierny Sep 12, 2026
dbbd425
[il-ext] fixing warnings in 64bits
julien-tierny Sep 12, 2026
4e83f27
[il-ext] lint fixes
julien-tierny Sep 12, 2026
cf6c56e
[il-ext] windows fix
julien-tierny Sep 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# Check source formatting #
# ----------------------- #
check-formatting:
runs-on: ubuntu-22.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v4

Expand Down
6 changes: 4 additions & 2 deletions core/base/common/welcomeMsg.inl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ printMsg(
debug::LineMode::NEW,
stream);
printMsg(debug::output::BOLD
+ "|_ _|_ _| |/ / / /__\\ \\ |___ \\ / _ \\___ \\ / /_"
+ "|_ _|_ _| |/ / / /__\\ \\ |___ \\ / _ "
"\\___ \\ / /_"
+ debug::output::ENDCOLOR,
debug::Priority::PERFORMANCE,
debug::LineMode::NEW,
Expand All @@ -32,7 +33,8 @@ printMsg(
debug::LineMode::NEW,
stream);
printMsg(debug::output::BOLD
+ " |_| |_| |_|\\_\\ | |\\___| | |_____|\\___/_____|\\___/"
+ " |_| |_| |_|\\_\\ | |\\___| | "
"|_____|\\___/_____|\\___/"
+ debug::output::ENDCOLOR,
debug::Priority::PERFORMANCE,
debug::LineMode::NEW,
Expand Down
2 changes: 1 addition & 1 deletion core/base/continuousScatterPlot/ContinuousScatterPlot.h
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ int ttk::ContinuousScatterPlot::execute(
if(v < 0.0 or (u + v) > 1.0)
continue;

// triangle/ray intersection below
// triangle/ray intersection below
#ifdef TTK_ENABLE_OPENMP
#pragma omp atomic update
#endif
Expand Down
44 changes: 33 additions & 11 deletions core/base/contourTree/ContourTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2704,17 +2704,23 @@ int ContourTree::computeSkeleton(unsigned int arcResolution) {
#ifdef TTK_ENABLE_OPENMP
#pragma omp section
#endif
{ SubLevelSetTree::computeSkeleton(arcResolution); }
{
SubLevelSetTree::computeSkeleton(arcResolution);
}

#ifdef TTK_ENABLE_OPENMP
#pragma omp section
#endif
{ mergeTree_.computeSkeleton(arcResolution); }
{
mergeTree_.computeSkeleton(arcResolution);
}

#ifdef TTK_ENABLE_OPENMP
#pragma omp section
#endif
{ splitTree_.computeSkeleton(arcResolution); }
{
splitTree_.computeSkeleton(arcResolution);
}
}

return 0;
Expand All @@ -2728,17 +2734,23 @@ int ContourTree::smoothSkeleton(unsigned int skeletonSmoothing) {
#ifdef TTK_ENABLE_OPENMP
#pragma omp section
#endif
{ SubLevelSetTree::smoothSkeleton(skeletonSmoothing); }
{
SubLevelSetTree::smoothSkeleton(skeletonSmoothing);
}

#ifdef TTK_ENABLE_OPENMP
#pragma omp section
#endif
{ mergeTree_.smoothSkeleton(skeletonSmoothing); }
{
mergeTree_.smoothSkeleton(skeletonSmoothing);
}

#ifdef TTK_ENABLE_OPENMP
#pragma omp section
#endif
{ splitTree_.smoothSkeleton(skeletonSmoothing); }
{
splitTree_.smoothSkeleton(skeletonSmoothing);
}
}

return 0;
Expand All @@ -2752,17 +2764,23 @@ int ContourTree::clearSkeleton() {
#ifdef TTK_ENABLE_OPENMP
#pragma omp section
#endif
{ SubLevelSetTree::clearSkeleton(); }
{
SubLevelSetTree::clearSkeleton();
}

#ifdef TTK_ENABLE_OPENMP
#pragma omp section
#endif
{ mergeTree_.clearSkeleton(); }
{
mergeTree_.clearSkeleton();
}

#ifdef TTK_ENABLE_OPENMP
#pragma omp section
#endif
{ splitTree_.clearSkeleton(); }
{
splitTree_.clearSkeleton();
}
}

return 0;
Expand Down Expand Up @@ -2893,12 +2911,16 @@ int ContourTree::simplify(const double &simplificationThreshold,
#ifdef TTK_ENABLE_OPENMP
#pragma omp section
#endif
{ mergeTree_.simplify(simplificationThreshold, metric); }
{
mergeTree_.simplify(simplificationThreshold, metric);
}

#ifdef TTK_ENABLE_OPENMP
#pragma omp section
#endif
{ splitTree_.simplify(simplificationThreshold, metric); }
{
splitTree_.simplify(simplificationThreshold, metric);
}
}

return 0;
Expand Down
8 changes: 4 additions & 4 deletions core/base/delaunayRipsPersistenceDiagram/geoPHUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
#include <RipsPersistenceDiagramUtils.h>

#include <boost/version.hpp>
#if((BOOST_VERSION / 100) % 1000) >= 81
#if ((BOOST_VERSION / 100) % 1000) >= 81
#include <boost/unordered/unordered_flat_map.hpp>
#include <boost/unordered/unordered_flat_set.hpp>
#else
#include <boost/unordered/unordered_map.hpp>
#include <boost/unordered/unordered_set.hpp>
#endif

#if((BOOST_VERSION / 100) % 1000) >= 84
#if ((BOOST_VERSION / 100) % 1000) >= 84
#include <boost/unordered/concurrent_flat_map.hpp>
#define TTK_CONCURRENT_HASHTABLE_AVAILABLE
#endif
Expand Down Expand Up @@ -47,7 +47,7 @@ namespace ttk::gph {
template <unsigned DIM>
using PointCloud = std::vector<PointD<DIM>>;

#if((BOOST_VERSION / 100) % 1000) >= 81
#if ((BOOST_VERSION / 100) % 1000) >= 81
template <typename X, typename Y>
using HashMap = boost::unordered_flat_map<X, Y>;
template <typename X>
Expand All @@ -59,7 +59,7 @@ namespace ttk::gph {
using HashSet = boost::unordered_set<X>;
#endif

#if((BOOST_VERSION / 100) % 1000) >= 84
#if ((BOOST_VERSION / 100) % 1000) >= 84
template <typename X, typename Y>
using ConcurrentHashMap = boost::concurrent_flat_map<X, Y>;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,16 +253,16 @@ int ttk::DepthImageBasedGeometryApproximation::execute(
triangleDistortions[triangleDistortionOffset++]
= isNaN(i0Depth) || isNaN(i2Depth) || isNaN(i1Depth)
? myNan
: std::max(
absDiff(i0Depth, i1Depth),
std::max(absDiff(i1Depth, i2Depth), absDiff(i0Depth, i2Depth)));
: std::max(absDiff(i0Depth, i1Depth),
std::max(absDiff(i1Depth, i2Depth),
absDiff(i0Depth, i2Depth)));

triangleDistortions[triangleDistortionOffset++]
= isNaN(i1Depth) || isNaN(i2Depth) || isNaN(i3Depth)
? myNan
: std::max(
absDiff(i1Depth, i3Depth),
std::max(absDiff(i3Depth, i2Depth), absDiff(i2Depth, i1Depth)));
: std::max(absDiff(i1Depth, i3Depth),
std::max(absDiff(i3Depth, i2Depth),
absDiff(i2Depth, i1Depth)));
}
}
}
Expand Down
16 changes: 16 additions & 0 deletions core/base/discreteGradient/DiscreteGradient.h
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,14 @@ user in the gradient.
const triangulationType &triangulation,
const bool enableCycleDetector = false) const;

/**
* Return all VPath coming from the given cell.
*/
template <typename triangulationType>
int getAllAscendingPaths(const Cell &cell,
std::vector<std::vector<Cell>> &vpaths,
const triangulationType &triangulation) const;

/**
* Return the VPath terminating at the given cell.
*/
Expand All @@ -436,6 +444,14 @@ user in the gradient.
std::vector<Cell> &vpath,
const triangulationType &triangulation) const;

/**
* Return all VPath terminating at the given cell.
*/
template <typename triangulationType>
int getAllDescendingPaths(const Cell &cell,
std::vector<std::vector<Cell>> &vpaths,
const triangulationType &triangulation) const;

/**
* Return the VPath terminating at the given 2-saddle restricted to the
2-separatrice of the 1-saddle.
Expand Down
Loading
Loading