Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ simulation case, use the project-level skill in
supercomputer via a gitlab pipeline. The tests are written using
[reframe](https://reframe-hpc.readthedocs.io/en/stable/). These are
validation tests checking that important cases produce the expected output.
- *Important*: Since Neko can be run in both double and single precision,
numerical assertions in tests should adjust their tolerance based on the
kind of `rp`. The `math` module contains the `NEKO_EPS` parameter that is
set to the correct machine epsilon for `rp`, thus in Fortran code tolerances
can be conveniently defined via its value.

### Unit tests with pFUnit.
- A guideline for writing these tests is given in
Expand Down
Loading