|
PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
|
Functions | |
| subprocess.CompletedProcess[str] | run_cli (list[str] args, Path cwd=REPO_ROOT) |
| Run one CLI command used to validate a shipped starter artifact. | |
| None | fail (str context, subprocess.CompletedProcess[str] result) |
| Raise a compact error that preserves the relevant CLI output. | |
| None | validate_bundle (dict[str, str] bundle, str label) |
| Validate one declared case/solver/monitor/post or cluster/study composition. | |
| None | audit_template_copy (str template_name, Path temporary_root) |
| Initialize one declared template and verify every managed file was copied faithfully. | |
| int | main () |
| Run the starter-content inventory, composition, and initializer audit. | |
Variables | |
| REPO_ROOT = Path(__file__).resolve().parents[2] | |
| str | CONTRACT_PATH = REPO_ROOT / "tests" / "tooling" / "starter_content_contract.json" |
| str | PICURV = REPO_ROOT / "picurv_cli" / "picurv" |
| str | RUNTIME_EXECUTION_EXAMPLE = "execution.example.yml" |
| file | |
Certify that shipped starter templates and reusable configuration profiles stay usable.
| subprocess.CompletedProcess[str] audit_starter_content.run_cli | ( | list[str] | args, |
| Path | cwd = REPO_ROOT |
||
| ) |
Run one CLI command used to validate a shipped starter artifact.
| [in] | args | CLI argument list. |
| [in] | cwd | Working directory for the command. |
Definition at line 19 of file audit_starter_content.py.
| None audit_starter_content.fail | ( | str | context, |
| subprocess.CompletedProcess[str] | result | ||
| ) |
Raise a compact error that preserves the relevant CLI output.
| [in] | context | Human-readable operation description. |
| [in] | result | Completed failing CLI process. |
Definition at line 31 of file audit_starter_content.py.
| None audit_starter_content.validate_bundle | ( | dict[str, str] | bundle, |
| str | label | ||
| ) |
Validate one declared case/solver/monitor/post or cluster/study composition.
| [in] | bundle | Declared role-to-path mapping. |
| [in] | label | Human-readable bundle description. |
Definition at line 41 of file audit_starter_content.py.
| None audit_starter_content.audit_template_copy | ( | str | template_name, |
| Path | temporary_root | ||
| ) |
Initialize one declared template and verify every managed file was copied faithfully.
| [in] | template_name | Top-level example directory name. |
| [in] | temporary_root | Temporary parent directory for initialized cases. |
Definition at line 56 of file audit_starter_content.py.
| int audit_starter_content.main | ( | ) |
Run the starter-content inventory, composition, and initializer audit.
Definition at line 81 of file audit_starter_content.py.
| audit_starter_content.REPO_ROOT = Path(__file__).resolve().parents[2] |
Definition at line 13 of file audit_starter_content.py.
| str audit_starter_content.CONTRACT_PATH = REPO_ROOT / "tests" / "tooling" / "starter_content_contract.json" |
Definition at line 14 of file audit_starter_content.py.
| str audit_starter_content.PICURV = REPO_ROOT / "picurv_cli" / "picurv" |
Definition at line 15 of file audit_starter_content.py.
| str audit_starter_content.RUNTIME_EXECUTION_EXAMPLE = "execution.example.yml" |
Definition at line 16 of file audit_starter_content.py.
| audit_starter_content.file |
Definition at line 125 of file audit_starter_content.py.