xref: /libCEED/examples/deal.II/README.md (revision 45e62b5fd85c07bf32886201b28fd86143ee0826)
1*45e62b5fSJeremy L Thompson## libCEED deal.II Example
2*45e62b5fSJeremy L Thompson
34a46e67dSJeremy L ThompsonAn example how to write libCEED operators (BP1-BP6) within the open-source finite element library [deal.II](https://www.dealii.org/).
44a46e67dSJeremy L ThompsonAs reference, operators are presented that use the native matrix-free infrastructure.
54a46e67dSJeremy L Thompson
64a46e67dSJeremy L ThompsonFirst compile deal.II and libCEED individually. After that, compile the deal.II example:
74a46e67dSJeremy L Thompson
84a46e67dSJeremy L Thompson```bash
94a46e67dSJeremy L Thompsonmkdir build
104a46e67dSJeremy L Thompsoncd build
114a46e67dSJeremy L Thompsoncmake ../ -DDEAL_II_DIR=~/path/to/dealii -DCEED_DIR=~/path/to/libceed
124a46e67dSJeremy L Thompsonmake
134a46e67dSJeremy L Thompson```
144a46e67dSJeremy L Thompson
154a46e67dSJeremy L ThompsonTo run the executable, write:
164a46e67dSJeremy L Thompson
174a46e67dSJeremy L Thompson```
184a46e67dSJeremy L Thompson./bps
194a46e67dSJeremy L Thompson```
204a46e67dSJeremy L Thompson
214a46e67dSJeremy L ThompsonOptional command-line arguments are shown by adding the command-line argument "--help".
22