Package Architecture
Visual overview of the lst_tools module structure and data flow.
Module Dependency Graph
Download architecture (SVG) View architecture (SVG)
Regenerate
Module Overview
| Subpackage | Responsibility |
|---|---|
cli |
Typer CLI — thin wrappers that dispatch to library functions |
config |
Read, write, validate TOML config; consistency checks |
core |
Grid and Flow dataclasses — central data containers |
convert |
HDF5 mean-flow → LASTRAC binary; input-deck generation |
data_io |
File I/O: Fortran binary, LASTRAC binary, Tecplot ASCII, flow conditions |
geometry |
Surface geometry: curvature, curvilinear coordinate, surface angle, radius |
setup |
Case setup: parsing, tracking, and spectra configuration |
process |
Post-processing: tracking and spectra results |
hpc |
HPC environment detection, job script generation |
utils |
Shared helpers (progress bars) |
Data Flow
CLI Command Hierarchy
The CLI uses Typer with two sub-groups (setup, process) to mirror
the LST workflow:
External Dependencies
| Dependency | Usage |
|---|---|
cfd-io |
FortranBinaryReader / FortranBinaryWriter (re-exported via data_io) |
numpy |
Array computation throughout |
scipy |
Interpolation in geometry and setup modules |
typer |
CLI framework |
tomli / tomli-w |
TOML config read / write |