| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| output/ | H | - | - | 257 | 233 | |
| .gitignore | H A D | 15-Apr-2021 | 25 | 4 | 3 | |
| Makefile | H A D | 30-Dec-2025 | 515 | 21 | 9 | |
| README.md | H A D | 15-Apr-2021 | 754 | 24 | 15 | |
| buildmats.py | H A D | 12-Apr-2023 | 3.6 KiB | 127 | 102 | |
| check.py | H A D | 15-Apr-2021 | 413 | 19 | 14 | |
| conftest.py | H A D | 30-Dec-2025 | 819 | 26 | 7 | |
| libceed-qfunctions.c | H A D | 30-Dec-2025 | 851 | 21 | 4 | |
| setup-qfunctions.py | H A D | 30-Dec-2025 | 1.1 KiB | 28 | 13 | |
| setup.cfg | H A D | 30-Dec-2025 | 297 | 10 | 8 | |
| test-0-ceed.py | H A D | 30-Dec-2025 | 2.2 KiB | 79 | 27 | |
| test-1-vector.py | H A D | 30-Dec-2025 | 10.4 KiB | 390 | 205 | |
| test-2-elemrestriction.py | H A D | 30-Dec-2025 | 11.1 KiB | 358 | 227 | |
| test-3-basis.py | H A D | 30-Dec-2025 | 12.6 KiB | 389 | 229 | |
| test-4-qfunction.py | H A D | 30-Dec-2025 | 9.7 KiB | 319 | 206 | |
| test-5-operator.py | H A D | 30-Dec-2025 | 70.1 KiB | 1,965 | 1,354 | |
| test-qfunctions.h | H A D | 30-Dec-2025 | 3 KiB | 84 | 29 |
README.md
1# libCEED Python Tests 2 3These files provide libCEED for Python tests. Full examples of finite element 4operators can be found in the file `test-5-operator.py`. 5 6## Testing 7 8To run the tests, first build the user QFunctions file by running 9 10 python setup-qfunctions.py build 11 12Then, to run the test suite use the command 13 14 pytest test-*.py --ceed /cpu/self/ref/serial 15 16## Building QFunctions 17 18To build user defined QFunctions, modify `libceed-qfunctions.c` to include 19the apropriate QFunction single source file and run 20`python setup-qfunctions.py build`. The files `test-4-qfunction.py` and 21`test-5-operator.py` both contain the example function `load_qfs_so()` for 22loading the user defined QFunctions so the QFunction pointers can be passed to 23libCEED. 24