| 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 |