xref: /libCEED/julia/LibCEED.jl/docs/src/Examples.md (revision 06988bf74cc6ac18eacafe7930f080803395ba29)
1*6f5dc8baSWill Pazner# Examples
2*6f5dc8baSWill Pazner
3*6f5dc8baSWill PaznerLibCEED.jl includes three short examples, which are analogues of the two
4*6f5dc8baSWill Paznerexamples in `libCEED/examples/ceed`.
5*6f5dc8baSWill Pazner
6*6f5dc8baSWill PaznerThese examples are:
7*6f5dc8baSWill Pazner- `ex1-volume-c.jl`, an almost one-to-one translation of `ex1-volume.c`, using
8*6f5dc8baSWill Pazner  the low-level C interface. This example uses low-level user Q-functions
9*6f5dc8baSWill Pazner  defined in `ex1-function-c.jl`.
10*6f5dc8baSWill Pazner- `ex1-volume.jl`, a higher-level more idiomatic version of `ex1-volume.c`,
11*6f5dc8baSWill Pazner  using user Q-functions defined using [`@interior_qf`](@ref).
12*6f5dc8baSWill Pazner- `ex2-surface.jl`, a higher-level, idiomatic version of `ex2-surface.c`.
13