Line data Source code
1 0 : // Distributed under the MIT License.
2 : // See LICENSE.txt for details.
3 :
4 : #pragma once
5 :
6 : #include <cstddef>
7 :
8 : /// \cond
9 : class DataVector;
10 : template <size_t>
11 : class Mesh;
12 : namespace Spectral {
13 : enum class Basis : uint8_t;
14 : enum class Quadrature : uint8_t;
15 : } // namespace Spectral
16 : /// \endcond
17 :
18 : namespace Spectral {
19 : /*!
20 : * \brief Collocation points
21 : * \param num_points The number of collocation points
22 : */
23 : template <Basis BasisType, Quadrature QuadratureType>
24 1 : const DataVector& collocation_points(size_t num_points);
25 :
26 : /*!
27 : * \brief Collocation points for a one-dimensional mesh.
28 : *
29 : * \see collocation_points(size_t)
30 : */
31 1 : const DataVector& collocation_points(const Mesh<1>& mesh);
32 : } // namespace Spectral
|