Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.81 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.81 KB

Executable acceptance examples

These complete examples exercise the public lifecycle validate -> resolve -> compile -> bind -> run, numerical checks, scientific outputs and checkpoint continuation. Start with the shorter tutorials to learn the API.

Example What it exercises
Scalar advection Conservative transport, explicit/preset SSPRK2 parity, AMR regridding and synchronization, leaf-cell error and restart
Multiphysics Two state spaces, a shared elliptic field, qualified diagnostics and refusal of unsupported cross-layout reads
IMEX AMR Explicit/implicit stages, field solves, subcycled AMR, rejected-attempt rollback and output/restart
HyQMOM15 Fifteen moments, conservative HLL transport, a periodic Poisson field, realizability and strict restart

From the repository root, with the build environment active:

env -u PYTHONPATH python examples/final/EXEMPLE_SPEC_FINALE_ADVECTION_SCALAIRE_COMPLET.py --output-dir outputs/scalar-advection

All four scripts accept --output-dir; use --help for their individual options. Multiphysics and HyQMOM15 also accept --cells. The corresponding tests live in tests/python/examples/final, and scripts/final_release_contract.py defines the release gate's required scripts and evidence.

The scripts and their assertions are the source of truth for their numerical limits and output contracts. A successful execution covers its selected native dimension, backend and MPI context; other configurations need their own runs.