xref: /libCEED/examples/deal.II/README.md (revision 4a46e67df50c06c939702143cae794ef585805bd)
1*4a46e67dSJeremy L ThompsonAn example how to write libCEED operators (BP1-BP6) within the open-source finite element library [deal.II](https://www.dealii.org/).
2*4a46e67dSJeremy L ThompsonAs reference, operators are presented that use the native matrix-free infrastructure.
3*4a46e67dSJeremy L Thompson
4*4a46e67dSJeremy L ThompsonFirst compile deal.II and libCEED individually. After that, compile the deal.II example:
5*4a46e67dSJeremy L Thompson
6*4a46e67dSJeremy L Thompson```bash
7*4a46e67dSJeremy L Thompsonmkdir build
8*4a46e67dSJeremy L Thompsoncd build
9*4a46e67dSJeremy L Thompsoncmake ../ -DDEAL_II_DIR=~/path/to/dealii -DCEED_DIR=~/path/to/libceed
10*4a46e67dSJeremy L Thompsonmake
11*4a46e67dSJeremy L Thompson```
12*4a46e67dSJeremy L Thompson
13*4a46e67dSJeremy L ThompsonTo run the executable, write:
14*4a46e67dSJeremy L Thompson
15*4a46e67dSJeremy L Thompson```
16*4a46e67dSJeremy L Thompson./bps
17*4a46e67dSJeremy L Thompson```
18*4a46e67dSJeremy L Thompson
19*4a46e67dSJeremy L ThompsonOptional command-line arguments are shown by adding the command-line argument "--help".
20