|
PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
|
This page describes current API-doc quality, warning sources, and the expected standard for new changes.
Function-level documentation coverage is now enforced across:
include/,src/,tests/c/,scripts/,tests/.The current repository contract requires every executable function to have a Doxygen-compatible comment/docstring with a valid @brief, exact parameter coverage, and documented return values where applicable.
Doxygen warnings are written to:
logs/doxygen.warningsConfigured in docs/Doxyfile via:
WARN_LOGFILE = ../logs/doxygen.warningsRepository consistency checks now also enforce function-level documentation via:
GitHub Actions quality CI also runs the audit explicitly before pytest -q on pull requests and pushes to main.
make build-docs remains useful for rendered output verification, but the audit script is the primary completeness gate for function comments.
For newly added or modified functions and test helpers:
@param,For C test files, concise briefs are acceptable, but they should still say what the test/helper verifies or sets up. Placeholder summaries like Test-local routine. remain tolerated in untouched legacy tests, but newly added or modified tests should use descriptive @brief text.
Minimum acceptable quality is interface correctness and discoverability, even when deep theoretical derivation is documented elsewhere.
python3 scripts/audit_function_docs.py,include/*.h + matching src/*.c, plus affected Python helpers/tests),make build-docs) to verify rendered output where needed.Batching by subsystem still keeps review scope manageable, but the audit gate now prevents silent regressions between cleanup passes.
This page describes API Documentation Status within the PICurv workflow. For CFD users, the most reliable reading strategy is to map the page content to a concrete run decision: what is configured, what runtime stage it influences, and which diagnostics should confirm expected behavior.
Treat this page as both a conceptual reference and a runbook. If you are debugging, pair the method/procedure described here with monitor output, generated runtime artifacts under runs/<run_id>/config, and the associated solver/post logs so numerical intent and implementation behavior stay aligned.