Basix 0.4.1

Home     Installation     Demos     C++ docs     Python docs

polyset.h
1 // Copyright (c) 2020 Chris Richardson & Matthew Scroggs
2 // FEniCS Project
3 // SPDX-License-Identifier: MIT
4 
5 #pragma once
6 
7 #include "cell.h"
8 #include <xtensor/xtensor.hpp>
9 
11 
122 namespace basix::polyset
123 {
161 xt::xtensor<double, 3> tabulate(cell::type celltype, int d, int n,
162  const xt::xtensor<double, 2>& x);
163 
204 void tabulate(xt::xtensor<double, 3>& P, cell::type celltype, int d, int n,
205  const xt::xtensor<double, 2>& x);
206 
212 int dim(cell::type cell, int d);
213 
219 int nderivs(cell::type cell, int d);
220 
221 } // namespace basix::polyset
basix::polyset
Polynomial expansion sets.
Definition: polyset.h:122
basix::polyset::dim
int dim(cell::type cell, int d)
Definition: polyset.cpp:1187
basix::cell::type
type
Cell type.
Definition: cell.h:18
basix::polyset::nderivs
int nderivs(cell::type cell, int d)
Definition: polyset.cpp:1212
basix::polyset::tabulate
xt::xtensor< double, 3 > tabulate(cell::type celltype, int d, int n, const xt::xtensor< double, 2 > &x)
Definition: polyset.cpp:1177