xref: /libCEED/examples/mfem/README.md (revision ed094490f53e580908aa80e9fe815a6fd76d7526)
1## libCEED MFEM Examples
2
3These examples show to write libCEED operators (BP1 and BP3) within the open-source finite element library [MFEM](https://www.mfem.org/).
4
5First compile MFEM and libCEED individually. After that, compile the MFEM example:
6
7```bash
8export MFEM_DIR=/path/to/mfem
9make
10```
11
12To run the executable, write:
13
14```
15./bp[1, 3]
16```
17
18Optional command-line arguments are shown by adding the command-line argument "--help".
19