Basix 0.6.0

Home     Installation     Demos     C++ docs     Python docs

e-lagrange.h
1 // Copyright (c) 2020-2022 Chris Richardson, Matthew Scroggs and Garth N. Wells
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 {
19 FiniteElement create_lagrange(cell::type celltype, int degree,
20  lagrange_variant variant, bool discontinuous);
21 } // namespace basix::element
type
Cell type.
Definition: cell.h:20
Interfaces for creating finite elements.
Definition: e-brezzi-douglas-marini.h:12
FiniteElement create_lagrange(cell::type celltype, int degree, lagrange_variant variant, bool discontinuous)
Create a Lagrange(-like) element on cell with given degree.
Definition: e-lagrange.cpp:1166
lagrange_variant
Variants of a Lagrange space that can be created.
Definition: element-families.h:12