tidal.cli package#

Command-line interface for the Lagrangian-to-PDE pipeline.

Entry point: tidal command with subcommands:

  • tidal derive — Derive equations from Lagrangian via Wolfram/xAct

  • tidal inspect — Display equation system information from JSON

  • tidal simulate — Run PDE simulation from JSON specification

  • tidal measure — Extract physics measurements from simulation output

  • tidal plot — Generate individual plots from simulation output

  • tidal sweep — Run parameter sweeps and convergence studies

  • tidal list — List available JSON specifications

  • tidal validate — Validate a JSON equation specification

tidal.cli.main(argv=None)[source]#

CLI entry point.

Parameters:

argv (list[str] | None) – Command-line arguments. If None, uses sys.argv.

Returns:

Exit code (0 for success, non-zero for errors).

Return type:

int