Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/basix/v0.8.0/cpp/quadrature_8h_source.html

Basix 0.6.0

Home     Installation     Demos     C++ docs     Python docs

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 
16 enum 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 
34 std::array<std::vector<double>, 2> make_quadrature(const quadrature::type rule,
35  cell::type celltype, int m);
36 
43 std::array<std::vector<double>, 2> make_quadrature(cell::type celltype, int m);
44 
51 
55 std::vector<double> get_gll_points(int m);
56 
60 std::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