Basix
element-families.h
1 // Copyright (c) 2020 Matthew Scroggs
2 // FEniCS Project
3 // SPDX-License-Identifier: MIT
4 
5 #pragma once
6 #include <string>
7 
8 namespace basix
9 {
10 
11 namespace element
12 {
14 enum class family
15 {
16  custom,
17  P,
18  RT,
19  N1E,
20  BDM,
21  N2E,
22  CR,
23  Regge,
24  DP,
25  DPC,
26  Bubble,
27  Serendipity
28 };
29 
31 element::family str_to_type(std::string name);
32 
33 // Convert family to string
34 const std::string& type_to_str(element::family type);
35 
36 } // namespace element
37 
38 } // namespace basix
cell::type str_to_type(std::string name)
Definition: cell.cpp:217
const std::string & type_to_str(cell::type type)
Convert cell type enum to string.
Definition: cell.cpp:236
Placeholder.
Definition: basix.h:10