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.8.0

Home     Installation     Demos     C++ docs     Python docs

Loading...
Searching...
No Matches
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
12namespace basix::element
13{
25template <std::floating_point T>
26FiniteElement<T> create_serendipity(cell::type celltype, int degree,
28 element::dpc_variant dvariant,
29 bool discontinuous);
30
40template <std::floating_point T>
41FiniteElement<T> create_dpc(cell::type celltype, int degree,
42 element::dpc_variant variant, bool discontinuous);
43
54template <std::floating_point T>
55FiniteElement<T> create_serendipity_div(cell::type celltype, int degree,
57 element::dpc_variant dvariant,
58 bool discontinuous);
59
70template <std::floating_point T>
71FiniteElement<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