Morse Smale Complex

17 views
Skip to first unread message

b20318 Shashwat Gupta

unread,
Dec 9, 2022, 6:34:34 AM12/9/22
to ttk-...@googlegroups.com
Greetings,

I am using ttk for my project work and at one point I need to find the distance between the local maximas and the local minimas. So for that I need the critical point pairs for each morse smale manifold. But I am not able to understand how to extract these maxima-minima pairs from the morse smale complex. It would be great if you could help me with this.

Thanks & Regards
Shashwat Gupta
B.Tech. , Mechanical Engineering
IIT Mandi
RWTH Aachen(Exchange Student)

b20318 Shashwat Gupta

unread,
Dec 19, 2022, 3:56:43 PM12/19/22
to ttk-...@googlegroups.com
A gentle reminder.

Thanks & Regards
Shashwat Gupta
B.Tech. , Mechanical Engineering
IIT Mandi
RWTH Aachen(Exchange Student)

Julien Tierny

unread,
Dec 21, 2022, 5:13:37 AM12/21/22
to ttk-...@googlegroups.com, b20318 Shashwat Gupta
hi Shashwat,

thanks for your email.

At the moment, there's no direct way in the current API to achieve that.

That being said, one thing that could work is the following:
- iterate on the critical points (first output of the morse-smale complex filter)
-- for each minimum (CellDimension=0) and maximum (CellDimension=the dimension of the data), save the corresponding critical vertex identifier (given by the array "ttkVertexScalarField")
-- Given the vertex identifier of each extremum (above "ttkVertexScalarField" value), you can now retrieve the identifier of the morse-smale manifold it is attached to, by looking at the field "MorseSmaleManifold" of the "ttkVertexScalarField-th" vertex of the output "Segmentation" of the morse-smale complex filter
-- That way, for each morse smale manifold, you can know the pair of extrema which is attached to it.

I hope this helps.

Best,
--
Dr Julien Tierny
CNRS Researcher
Sorbonne Universite
http://lip6.fr/Julien.Tierny
Reply all
Reply to author
Forward
0 new messages