Basix 0.4.0

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/xarray.hpp>
9 #include <xtensor/xtensor.hpp>
10 
12 
123 namespace basix::polyset
124 {
162 xt::xtensor<double, 3> tabulate(cell::type celltype, int d, int n,
163  const xt::xarray<double>& x);
164 
205 void tabulate(xt::xtensor<double, 3>& P, cell::type celltype, int d, int n,
206  const xt::xarray<double>& x);
207 
213 int dim(cell::type cell, int d);
214 
220 int nderivs(cell::type cell, int d);
221 
222 } // namespace basix::polyset
basix::polyset
Polynomial expansion sets.
Definition: polyset.h:123
basix::polyset::dim
int dim(cell::type cell, int d)
Definition: polyset.cpp:1207
basix::cell::type
type
Cell type.
Definition: cell.h:18
basix::polyset::nderivs
int nderivs(cell::type cell, int d)
Definition: polyset.cpp:1232
basix::polyset::tabulate
xt::xtensor< double, 3 > tabulate(cell::type celltype, int d, int n, const xt::xarray< double > &x)
Definition: polyset.cpp:1197