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
People of FEniCS
Roadmap 2021-
FEniCS 2022
Download
Documentation
Community
Governance
Citing
Donate
Basix 0.4.0
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
vtk = 20,
26
};
27
29
enum class
dpc_variant
30
{
31
unset = -1,
32
simplex_equispaced = 0,
33
simplex_gll = 1,
34
horizontal_equispaced = 2,
35
horizontal_gll = 3,
36
diagonal_equispaced = 4,
37
diagonal_gll = 5,
38
legendre = 6,
39
};
40
42
enum class
family
43
{
44
custom = 0,
45
P = 1,
46
RT = 2,
47
N1E = 3,
48
BDM = 4,
49
N2E = 5,
50
CR = 6,
51
Regge = 7,
52
DPC = 8,
53
bubble = 9,
54
serendipity = 10,
55
HHJ = 11,
56
};
57
58
}
// 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
Variants of a DPC space that can be created.
Definition:
element-families.h:29
basix::element::family
family
Available element families.
Definition:
element-families.h:42