Line data Source code
1 0 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : #pragma once 5 : 6 : /// \cond 7 : class DataVector; 8 : namespace Spectral { 9 : enum class Basis : uint8_t; 10 : } // namespace Spectral 11 : /// \endcond 12 : 13 : namespace Spectral { 14 : /*! 15 : * \brief Compute the inverse of the weight function \f$w(x)\f$ w.r.t. which 16 : * the basis functions are orthogonal. See the description of 17 : * `quadrature_weights(size_t)` for details. 18 : * This is arbitrarily set to 1 for FiniteDifference basis, to integrate 19 : * using the midpoint method (see `quadrature_weights (size_t)` for details). 20 : */ 21 : template <Basis> 22 1 : DataVector compute_inverse_weight_function_values(const DataVector&); 23 : } // namespace Spectral