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