OISEAU
A modern DGTD framework
Loading...
Searching...
No Matches
integration.hpp
1// Copyright (C) 2025 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
13namespace oiseau::utils::integration {
14std::pair<xt::xarray<double>, xt::xarray<double>> cubature(int order);
15std::pair<xt::xarray<double>, xt::xarray<double>> quadrature(int order);
16std::pair<xt::xarray<double>, xt::xarray<double>> jacobi_gq(unsigned n, double alpha, double beta);
17} // namespace oiseau::utils::integration