Name Date Size #Lines LOC

..--

output/H--257233

.gitignoreH A D15-Apr-202125 43

MakefileH A D30-Dec-2025515 219

README.mdH A D15-Apr-2021754 2415

buildmats.pyH A D12-Apr-20233.6 KiB127102

check.pyH A D15-Apr-2021413 1914

conftest.pyH A D30-Dec-2025819 267

libceed-qfunctions.cH A D30-Dec-2025851 214

setup-qfunctions.pyH A D30-Dec-20251.1 KiB2813

setup.cfgH A D30-Dec-2025297 108

test-0-ceed.pyH A D30-Dec-20252.2 KiB7927

test-1-vector.pyH A D30-Dec-202510.4 KiB390205

test-2-elemrestriction.pyH A D30-Dec-202511.1 KiB358227

test-3-basis.pyH A D30-Dec-202512.6 KiB389229

test-4-qfunction.pyH A D30-Dec-20259.7 KiB319206

test-5-operator.pyH A D30-Dec-202570.1 KiB1,9651,354

test-qfunctions.hH A D30-Dec-20253 KiB8429

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