Basix
quadrature.h
1// Copyright (c) 2020 Chris Richardson
2// FEniCS Project
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
7#include "cell.h"
8#include <array>
9#include <vector>
10
13{
14
16enum class type
17{
18 Default = 0,
19 gauss_jacobi = 1,
20 gll = 2,
21 xiao_gimbutas = 3,
22 zienkiewicz_taylor = 20,
23 keast = 21,
24 strang_fix = 22,
25};
26
34std::array<std::vector<double>, 2> make_quadrature(const quadrature::type rule,
35 cell::type celltype, int m);
36
43std::array<std::vector<double>, 2> make_quadrature(cell::type celltype, int m);
44
51
55std::vector<double> get_gll_points(int m);
56
60std::vector<double> get_gl_points(int m);
61
62} // namespace basix::quadrature
type
Cell type.
Definition: cell.h:20
Quadrature rules.
Definition: quadrature.h:13
type
Quadrature type.
Definition: quadrature.h:17
std::vector< double > get_gl_points(int m)
Definition: quadrature.cpp:4756
std::vector< double > get_gll_points(int m)
Definition: quadrature.cpp:4764
quadrature::type get_default_rule(cell::type celltype, int m)
Definition: quadrature.cpp:4698
std::array< std::vector< double >, 2 > make_quadrature(const quadrature::type rule, cell::type celltype, int m)
Definition: quadrature.cpp:4727