| 1. Load the file "isabel/data/isabel.vti". | |
| 2. Apply persistent simplification to the field "sf" with a persistence threshold of 0.04 | |
| 3. Compute the merge tree of the simplified field. | |
| 4. Save the nodes of the merge tree as "isabel/results/{agent_mode}/isabel_nodes.vtk" in legacy VTK format. | |
| This file should have two point arrays. One should be called "CriticalType" and should store the type of critical point for each node. | |
| It should follow the following convention: 0: minima. 1: 1-saddles. 2: 2-saddles. 3: maxima. 4: degenerate critical points. | |
| The other point array should be called "Scalar" and should contain the scalar field value at each point in the merge tree. | |
| 5. Save the edges of the merge tree as "isabel/results/{agent_mode}/isabel_edges.vtk" in legacy VTK format. | |
| The file should store each edge as a separate cell with type vtkLine. |