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
Basix
0.3.0
Home
Installation
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
#include <string>
7
8
namespace
basix
9
{
10
11
namespace
element
12
{
14
enum class
family
15
{
16
custom = 0,
17
P = 1,
18
RT = 2,
19
N1E = 3,
20
BDM = 4,
21
N2E = 5,
22
CR = 6,
23
Regge = 7,
24
DP = 8,
25
DPC = 9,
26
Bubble = 10,
27
Serendipity = 11
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
basix::cell::str_to_type
cell::type str_to_type(std::string name)
Definition:
cell.cpp:366
basix::cell::type_to_str
const std::string & type_to_str(cell::type type)
Convert cell type enum to string.
Definition:
cell.cpp:385
basix
Placeholder.
Definition:
brezzi-douglas-marini.h:9
Generated by
1.8.17