-
Notifications
You must be signed in to change notification settings - Fork 4
/
TensorProductQuadrature.cc
14 lines (13 loc) · 882 Bytes
/
TensorProductQuadrature.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "TensorProductQuadrature.hh"
// We need to provide definitions for the static constexpr `points` and
// `weights` memebers to avoid undefined reference linker errors.
constexpr std::array<double, 1> UnivariateQuadratureTable<1>::points;
constexpr std::array<double, 1> UnivariateQuadratureTable<1>::weights;
constexpr std::array<double, 2> UnivariateQuadratureTable<2>::points;
constexpr std::array<double, 2> UnivariateQuadratureTable<2>::weights;
constexpr std::array<double, 3> UnivariateQuadratureTable<3>::points;
constexpr std::array<double, 3> UnivariateQuadratureTable<3>::weights;
constexpr std::array<double, 4> UnivariateQuadratureTable<4>::points;
constexpr std::array<double, 4> UnivariateQuadratureTable<4>::weights;
constexpr std::array<double, 5> UnivariateQuadratureTable<5>::points;
constexpr std::array<double, 5> UnivariateQuadratureTable<5>::weights;