OISEAU
A modern DGTD framework
Loading...
Searching...
No Matches
integration.hpp
Go to the documentation of this file.
1// Copyright (C) 2026 Tiago V. L. Amorim (@tiagovla)
2//
3// This file is part of oiseau (https://github.com/tiagovla/oiseau)
4//
5// SPDX-License-Identifier: GPL-3.0-or-later
6
7#pragma once
8
9#include <utility>
10#include <xtensor/containers/xarray.hpp>
11#include <xtensor/core/xtensor_forward.hpp>
12
15
16namespace oiseau::utils::integration {
17
27std::pair<xt::xarray<double>, xt::xarray<double>> triangle_cubature(int order);
28
35std::pair<xt::xarray<double>, xt::xarray<double>> quadrature(int order);
36
45std::pair<xt::xarray<double>, xt::xarray<double>> jacobi_gq(unsigned n, double alpha, double beta);
46
54xt::xarray<double> jacobi_gl(unsigned n, double alpha, double beta);
55
56} // namespace oiseau::utils::integration