Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/basix/v0.9.0/cpp/e-serendipity_8h_source.html

Basix 0.5.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 
11 namespace basix::element
12 {
24 FiniteElement create_serendipity(cell::type celltype, int degree,
26  element::dpc_variant dvariant,
27  bool discontinuous);
28 
38 FiniteElement create_dpc(cell::type celltype, int degree,
39  element::dpc_variant variant, bool discontinuous);
40 
51 FiniteElement create_serendipity_div(cell::type celltype, int degree,
53  element::dpc_variant dvariant,
54  bool discontinuous);
55 
66 FiniteElement create_serendipity_curl(cell::type celltype, int degree,
68  element::dpc_variant dvariant,
69  bool discontinuous);
70 } // namespace basix::element
basix::element::lagrange_variant
lagrange_variant
Variants of a Lagrange space that can be created.
Definition: element-families.h:11
basix::cell::type
type
Cell type.
Definition: cell.h:19
basix::element::create_serendipity_curl
FiniteElement create_serendipity_curl(cell::type celltype, int degree, element::lagrange_variant lvariant, element::dpc_variant dvariant, bool discontinuous)
Definition: e-serendipity.cpp:1292
basix::element
Interfaces for creating finite elements.
Definition: e-brezzi-douglas-marini.h:11
basix::element::create_serendipity_div
FiniteElement create_serendipity_div(cell::type celltype, int degree, element::lagrange_variant lvariant, element::dpc_variant dvariant, bool discontinuous)
Definition: e-serendipity.cpp:1190
basix::element::create_serendipity
FiniteElement create_serendipity(cell::type celltype, int degree, element::lagrange_variant lvariant, element::dpc_variant dvariant, bool discontinuous)
Definition: e-serendipity.cpp:940
basix::element::create_dpc
FiniteElement create_dpc(cell::type celltype, int degree, element::dpc_variant variant, bool discontinuous)
Definition: e-serendipity.cpp:1102
basix::element::dpc_variant
dpc_variant
Definition: element-families.h:32