The Open FUSION Toolkit 26.9
An open-source framework for fusion and plasma science and engineering
Loading...
Searching...
No Matches
_mesh_cli.py File Reference

Classes

class  ThinCurrMesh
 Container for a 3-node triangular ThinCurr surface mesh. More...

Namespaces

namespace  OpenFUSIONToolkit
 Python interface for Open FUSION Toolkit.
namespace  OpenFUSIONToolkit.ThinCurr
 Python interface for ThinCurr thin-wall E-M functionality.
namespace  OpenFUSIONToolkit.ThinCurr._mesh_cli
 ThinCurr mesh manipulation and combination utility script and supporting functions.

Functions

 _parse_rotate (val)
 Validate and normalize a (axis, angle) argument pair.
 build_parser ()
 Construct the command-line argument parser.
 combine_meshes (filenames, distinct_regions=True)
 Combine multiple mesh files into a single mesh.
 replicate_mesh (mesh, ncopies, shift=None, rotate=None, center=None, distinct_regions=True)
 Generate an output mesh consisting of the original plus transformed copies.
 resolve_jumper_indices (nnodesets, explicit=None, index_range=None)
 Resolve jumper nodeset indices from CLI options.
 rotation_matrix (axis, angle_deg)
 Build a rotation matrix about a principal Cartesian axis.
 script_entry (argv=None)
 Command-line entry point.