Basix 0.9.0

Home     Installation     Demos     C++ docs     Python docs

element-families.h
1 // Copyright (c) 2020 Matthew Scroggs
2 // FEniCS Project
3 // SPDX-License-Identifier: MIT
4 
5 #pragma once
6 
8 namespace basix::element
9 {
11 enum class lagrange_variant
12 {
13  unset = 0,
14  equispaced = 1,
15  gll_warped = 2,
16  gll_isaac = 3,
17  gll_centroid = 4,
18  chebyshev_warped = 5,
19  chebyshev_isaac = 6,
20  chebyshev_centroid = 7,
21  gl_warped = 8,
22  gl_isaac = 9,
23  gl_centroid = 10,
24  legendre = 11,
25  bernstein = 12,
26 };
27 
31 enum class dpc_variant
32 {
33  unset = 0,
34  simplex_equispaced = 1,
35  simplex_gll = 2,
36  horizontal_equispaced = 3,
37  horizontal_gll = 4,
38  diagonal_equispaced = 5,
39  diagonal_gll = 6,
40  legendre = 7,
41 };
42 
44 enum class family
45 {
46  custom = 0,
47  P = 1,
48  RT = 2,
49  N1E = 3,
50  BDM = 4,
51  N2E = 5,
52  CR = 6,
53  Regge = 7,
54  DPC = 8,
55  bubble = 9,
56  serendipity = 10,
57  HHJ = 11,
58  Hermite = 12,
59  iso = 13,
60 };
61 } // namespace basix::element
Interfaces for creating finite elements.
Definition: e-brezzi-douglas-marini.h:13
lagrange_variant
Variants of a Lagrange space that can be created.
Definition: element-families.h:12
dpc_variant
Definition: element-families.h:32
family
Available element families.
Definition: element-families.h:45