File size: 703 Bytes
eee57cc
8752c1a
eee57cc
8752c1a
eee57cc
8752c1a
eee57cc
 
 
 
 
 
 
967a3ab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
1. Load the dataset from "dragon/data/dragon.vtu".

2. Compute the Morse-Smale complex on the scalar field named "density". Make sure 1-Separatrices are computed.

3. Compute the critical points on the previous elevation scalar field. 

4. Save the critical points as "dragon/results/{agent_mode}/dragon.vtk" in legacy VTK format.
    - The output should contain the critical points as point dataset
    - Include an array called "CriticalType" that labels each point according to what type of critical type it is. Use the following convention: 
        * 0 for minima
        * 1 for 1-saddles
        * 2 for 2-saddles
        * 3 for maxima
    - The point coordinates should be in world coordinates