Loading...
Searching...
No Matches
e-lagrange.h
// Copyright (c) 2020-2022 Chris Richardson, Matthew Scroggs and Garth N. Wells
// FEniCS Project
// SPDX-License-Identifier: MIT
#pragma once
#include "cell.h"
#include "element-families.h"
#include "finite-element.h"
#include <concepts>
namespace basix::element
{
template <std::floating_point T>
FiniteElement<T> create_lagrange(cell::type celltype, int degree,
lagrange_variant variant, bool discontinuous,
std::vector<int> dof_ordering = {});
template <std::floating_point T>
FiniteElement<T> create_iso(cell::type celltype, int degree,
lagrange_variant variant, bool discontinuous);
} // namespace basix::element
basix::cell::type
type
Cell type.
Definition cell.h:21
basix::element
Interfaces for creating finite elements.
Definition e-brezzi-douglas-marini.h:13
basix::element::lagrange_variant
lagrange_variant
Variants of a Lagrange space that can be created.
Definition element-families.h:12
basix::element::create_lagrange
FiniteElement< T > create_lagrange(cell::type celltype, int degree, lagrange_variant variant, bool discontinuous, std::vector< int > dof_ordering={})
Create a Lagrange(-like) element on cell with given degree.
Definition e-lagrange.cpp:439
basix::element::create_iso
FiniteElement< T > create_iso(cell::type celltype, int degree, lagrange_variant variant, bool discontinuous)
Create an iso macro element on cell with given degree.
Definition e-lagrange.cpp:650