Source: GitHub
Functions to create visualization artifacts (e.g. tracelines) automatically such that a reduced geometry consisting of only a point cloud of nodes can be visualized.
This module defines a Geometry object as well as all of the subcomponents of a geometry object: nodes, elements, tracelines and coordinate system. Geometry plotting is also handled in this module.
Functions¶
| Name | Summary |
|---|---|
block_overlap_penalty | If block memberships overlap, no penalty. Otherwise apply multiplicative penalty. |
build_node_id_to_index | |
build_visualization_graph_from_fe_data | Build a sparse visualization graph for retained FE nodes. |
create_visualization_tracelines | Creates tracelines that can be used to improve visualization of a reduced geometry. |
derive_node_adjacency_from_elements | Build a node adjacency graph from element connectivity. |
derive_node_block_sets | Derive, for each node index, the set of element blocks touching that node. |