You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/README.md
+20-4Lines changed: 20 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ For more details, please see the dedicated [documentation section](https://libce
13
13
14
14
The Center for Efficient Exascale Discretizations (CEED) uses Bakeoff Problems (BPs) to test and compare the performance of high-order finite element implementations.
15
15
The definitions of the problems are given on the ceed [website](https://ceed.exascaleproject.org/bps/).
16
-
Each of the following bakeoff problems that use external discretization libraries (such as MFEM, PETSc, and Nek5000) are located in the subdirectories `mfem/`, `petsc/`, and `nek5000/`, respectively.
16
+
Each of the following bakeoff problems that use external discretization libraries (such as deal.II, MFEM, PETSc, and Nek5000) are located in the subdirectories`deal.II/`,`mfem/`, `petsc/`, and `nek5000/`, respectively.
17
17
18
18
Here we provide a short summary:
19
19
@@ -22,6 +22,13 @@ Here we provide a short summary:
22
22
:widths: auto
23
23
*- User code
24
24
- Supported BPs
25
+
*-`deal.II`
26
+
-* BP1 (scalar mass operator) with $Q=P+1$
27
+
* BP2 (vector mass operator) with $Q=P+1$
28
+
* BP3 (scalar Laplace operator) with $Q=P+1$
29
+
* BP4 (vector Laplace operator) with $Q=P+1$
30
+
* BP5 (collocated scalar Laplace operator) with $Q=P$
31
+
* BP6 (collocated vector Laplace operator) with $Q=P$
25
32
*-`mfem`
26
33
-* BP1 (scalar mass operator) with $Q=P+1$
27
34
* BP3 (scalar Laplace operator) with $Q=P+1$
@@ -50,12 +57,12 @@ This latter choice is popular in applications that use spectral element methods
50
57
51
58
For a more detailed description of the operators employed in the BPs, please see the dedicated [BPs documentation section](https://libceed.org/en/latest/examples/bps.html).
The Navier-Stokes problem solves the compressible Navier-Stokes equations using an explicit or implicit time integration.
56
63
A more detailed description of the problem formulation can be found in the [fluids/](./fluids) folder and the corresponding [fluids documentation page](https://libceed.org/en/latest/examples/fluids/index.html).
This example solves the steady-state static momentum balance equations using unstructured high-order finite/spectral element spatial discretizations.
61
68
A more detailed description of the problem formulation can be found in the [solids/](./solids) folder and the corresponding [solids documentation page](https://libceed.org/en/latest/examples/solids/index.html).
@@ -70,9 +77,18 @@ For a detailed description, please see the corresponding [area documentation pag
70
77
These examples, located in the [petsc/](./petsc) folder, reproduce the Bakeoff Problems 1-6 on a discrete cubed-sphere, using PETSc.
71
78
For a detailed description, please see the corresponding [problems on the cubed-sphere documentation page](https://libceed.org/en/latest/examples/petsc/index.html#bakeoff-problems-on-the-cubed-sphere).
72
79
80
+
## libCEED Python Examples
81
+
82
+
These Jupyter notebooks explore the concepts of the libCEED API, including how to install the Python interface and the usage of each API object, with interactive examples.
83
+
The basic libCEED C examples in `/ceed` folder are also available as Python examples.
84
+
85
+
## libCEED Rust Examples
86
+
87
+
The basic libCEED C examples in `/ceed` folder are also available as Rust examples.
88
+
73
89
## Running Examples
74
90
75
-
To build the examples, set the `MFEM_DIR`, `PETSC_DIR`, and `NEK5K_DIR` variables and, from the `examples/` directory, run
91
+
To build the examples, set the `DEAL_II_DIR`, `MFEM_DIR`, `PETSC_DIR`, and `NEK5K_DIR` variables and, from the `examples/` directory, run
These examples are written using libCEED's Python interface.
4
+
5
+
### Tutorials
6
+
7
+
These Jupyter notebooks explore the concepts of the libCEED API, including how to install the Python interface and the usage of each API object, with interactive examples.
8
+
9
+
### Basic Examples
10
+
11
+
The basic libCEED C examples in the folder `/examples/ceed` are also available as Python examples.
12
+
13
+
To build the QFunctions into a shared library that the Python examples use, run
14
+
15
+
```bash
16
+
make setup
17
+
```
18
+
19
+
To execute the examples, run:
20
+
21
+
```
22
+
python ex1_volume.py
23
+
```
24
+
25
+
A full list of command-line arguments are shown by adding the command-line argument "--help".
0 commit comments