Note: this is documentation for an old release. View the latest documentation at
docs.fenicsproject.org/basix/v0.9.0/cpp/element-families_8h_source.html
FEniCS 2022
Download
Documentation
Community
Citing
Donate
Basix 0.5.1
Home
Installation
Demos
C++ docs
Python docs
cpp
basix
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 = -1,
14
equispaced = 0,
15
gll_warped = 1,
16
gll_isaac = 2,
17
gll_centroid = 3,
18
chebyshev_warped = 4,
19
chebyshev_isaac = 5,
20
chebyshev_centroid = 6,
21
gl_warped = 7,
22
gl_isaac = 8,
23
gl_centroid = 9,
24
legendre = 10,
25
bernstein = 11,
26
vtk = 20,
27
};
28
32
enum class
dpc_variant
33
{
34
unset = -1,
35
simplex_equispaced = 0,
36
simplex_gll = 1,
37
horizontal_equispaced = 2,
38
horizontal_gll = 3,
39
diagonal_equispaced = 4,
40
diagonal_gll = 5,
41
legendre = 6,
42
};
43
45
enum class
family
46
{
47
custom = 0,
48
P = 1,
49
RT = 2,
50
N1E = 3,
51
BDM = 4,
52
N2E = 5,
53
CR = 6,
54
Regge = 7,
55
DPC = 8,
56
bubble = 9,
57
serendipity = 10,
58
HHJ = 11,
59
Hermite = 12
60
};
61
62
}
// namespace basix::element
basix::element::lagrange_variant
lagrange_variant
Variants of a Lagrange space that can be created.
Definition:
element-families.h:11
basix::element
Interfaces for creating finite elements.
Definition:
e-brezzi-douglas-marini.h:11
basix::element::dpc_variant
dpc_variant
Definition:
element-families.h:32
basix::element::family
family
Available element families.
Definition:
element-families.h:45