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

Basix 0.5.1

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
basix::quadrature::get_default_rule
quadrature::type get_default_rule(cell::type celltype, int m)
Definition: quadrature.cpp:4698
basix::cell::type
type
Cell type.
Definition: cell.h:19
basix::quadrature
Quadrature rules.
Definition: quadrature.h:12
basix::quadrature::get_gll_points
std::vector< double > get_gll_points(int m)
Definition: quadrature.cpp:4764
basix::quadrature::make_quadrature
std::array< std::vector< double >, 2 > make_quadrature(const quadrature::type rule, cell::type celltype, int m)
Definition: quadrature.cpp:4727
basix::quadrature::get_gl_points
std::vector< double > get_gl_points(int m)
Definition: quadrature.cpp:4756
basix::quadrature::type
type
Quadrature type.
Definition: quadrature.h:16