Name Date Size #Lines LOC

..--

.gitignoreH A D08-Aug-202534 43

MakefileH A D30-Dec-2025781 3416

README.mdH A D16-Jul-2025798 179

ex1-volume-f-c.hH A D02-Feb-20262.4 KiB6034

ex1-volume-f.f90H A D02-Feb-202617.9 KiB558381

ex1-volume-f.hH A D02-Feb-20261.8 KiB5649

ex1-volume.cH A D30-Dec-202516.1 KiB430283

ex1-volume.hH A D02-Feb-20262.5 KiB6537

ex2-surface.cH A D30-Dec-202516.6 KiB436288

ex2-surface.hH A D02-Feb-20265.6 KiB14183

ex3-volume.cH A D30-Dec-202516.2 KiB419279

ex3-volume.hH A D02-Feb-20266.5 KiB17397

index.mdH A D28-May-20253.5 KiB8858

README.md

1## libCEED Basic Examples
2
3Two examples are provided that rely only upon libCEED without any external libraries.
4
5### Example 1: ex1-volume
6
7This example uses the mass matrix to compute the length, area, or volume of a region, depending upon runtime parameters.
8
9### Example 2: ex2-surface
10
11This example uses the diffusion matrix to compute the surface area of a region, in 1D, 2D or 3D, depending upon runtime parameters.
12
13### Example 3: ex3-volume
14
15This example uses the mass matrix to compute the length, area, or volume of a region, depending upon runtime parameters.
16Unlike ex1, this example also adds the diffusion matrix to add a zero contribution to this calculation while demonstrating the ability of libCEED to handle multiple basis evaluation modes on the same input and output vectors.
17