Basix 0.10.0.0

Home     Installation     Demos     C++ docs     Python docs

e-serendipity.h
1 // Copyright (c) 2020 Matthew Scroggs
2 // FEniCS Project
3 // SPDX-License-Identifier: MIT
4 
5 #pragma once
6 
7 #include "cell.h"
8 #include "element-families.h"
9 #include "finite-element.h"
10 #include <concepts>
11 
12 namespace basix::element
13 {
25 template <std::floating_point T>
26 FiniteElement<T> create_serendipity(cell::type celltype, int degree,
28  element::dpc_variant dvariant,
29  bool discontinuous);
30 
40 template <std::floating_point T>
41 FiniteElement<T> create_dpc(cell::type celltype, int degree,
42  element::dpc_variant variant, bool discontinuous);
43 
54 template <std::floating_point T>
55 FiniteElement<T> create_serendipity_div(cell::type celltype, int degree,
57  element::dpc_variant dvariant,
58  bool discontinuous);
59 
70 template <std::floating_point T>
71 FiniteElement<T> create_serendipity_curl(cell::type celltype, int degree,
73  element::dpc_variant dvariant,
74  bool discontinuous);
75 } // namespace basix::element
type
Cell type.
Definition: cell.h:21
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
FiniteElement< T > create_serendipity_curl(cell::type celltype, int degree, element::lagrange_variant lvariant, element::dpc_variant dvariant, bool discontinuous)
Definition: e-serendipity.cpp:1318
FiniteElement< T > create_serendipity(cell::type celltype, int degree, element::lagrange_variant lvariant, element::dpc_variant dvariant, bool discontinuous)
Definition: e-serendipity.cpp:954
dpc_variant
Definition: element-families.h:32
FiniteElement< T > create_serendipity_div(cell::type celltype, int degree, element::lagrange_variant lvariant, element::dpc_variant dvariant, bool discontinuous)
Definition: e-serendipity.cpp:1213
FiniteElement< T > create_dpc(cell::type celltype, int degree, element::dpc_variant variant, bool discontinuous)
Definition: e-serendipity.cpp:1121