![]() |
The Open FUSION Toolkit 26.9
An open-source framework for fusion and plasma science and engineering
|
Python cli for ThinCurr hole construction using homology computations.
See thincurr_homology_tool
Classes | |
| class | trimesh |
Functions | |
| compute_greedy_homotopy_basis (face, vertex, bi, face_sweight=None) | |
| compute_homology (in_file, out_file=None, plot_final=False, plot_steps=False, show_omitted=False, show_covering=False, debug=False, ref_point=None, optimize_holes=False, verify_only=False) | |
| Compute holes and closures for ThinCurr meshes using a Greedy Homotopy approach. | |
| fixup_loop (cycle, mesh, boundary_cycles, debug) | |
| script_entry () | |
| Command line interface for computing holes and closures for ThinCurr meshes using a Greedy Homotopy approach. | |
| update_svd_with_row (U, S, V_T, new_row) | |
Variables | |
| str | indent_level = '' |
| tri_ed = np.asarray([[2,1], [0,2], [1,0]]) | |
| compute_greedy_homotopy_basis | ( | face, | |
| vertex, | |||
| bi, | |||
| face_sweight = None ) |
Compute the single-point Homotopy basis using the greedy method of Erickson and Whittlesey
| compute_homology | ( | in_file, | |
| out_file = None, | |||
| plot_final = False, | |||
| plot_steps = False, | |||
| show_omitted = False, | |||
| show_covering = False, | |||
| debug = False, | |||
| ref_point = None, | |||
| optimize_holes = False, | |||
| verify_only = False ) |
Compute holes and closures for ThinCurr meshes using a Greedy Homotopy approach.
| in_file | Input mesh file |
| out_file | Ouput mesh file (default: Input file name with "-homology" appended) |
| plot_final | Show final homology basis? |
| plot_steps | Show intermediate bases for each distinct surface? |
| show_omitted | Show boundary cycles that are omitted? |
| show_covering | Show covering triangles for boundary cycles (only used if plot_steps)? |
| debug | Print additional debug information? |
| ref_point | Reference location for base point [x,y,z] (default: [0,0,0]) |
| optimize_holes | Sample additional points to attempt to optimize holes? |
| verify_only | Verify the correct number of holes and closures are found, but do not write output file? |
| fixup_loop | ( | cycle, | |
| mesh, | |||
| boundary_cycles, | |||
| debug ) |
Fix up vertex chain by replacing paths that cross the boundary and performing some simplification
| script_entry | ( | ) |
Command line interface for computing holes and closures for ThinCurr meshes using a Greedy Homotopy approach.
| update_svd_with_row | ( | U, | |
| S, | |||
| V_T, | |||
| new_row ) |
Updates SVD (U, S, V_T) when a new row is appended to the matrix. Assumes matrix shape is (m, n) where rows are added.
| str indent_level = '' |
| tri_ed = np.asarray([[2,1], [0,2], [1,0]]) |