Note: this is documentation for an old release. View the latest documentation at
docs.fenicsproject.org/basix/v0.9.0/cpp/e-lagrange_8h_source.html
FEniCS 2022
Download
Documentation
Community
Citing
Donate
Basix 0.5.1
Home
Installation
Demos
C++ docs
Python docs
cpp
basix
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
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
Interfaces for creating finite elements.
Definition:
e-brezzi-douglas-marini.h:11
basix::element::create_lagrange
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:1163