SwshSettings.hpp
2 // See LICENSE.txt for details.
3
4 #pragma once
5
6 namespace Spectral {
7 namespace Swsh {
8
9 // In the static caching mechanism, we permit an l_max up to this setting
10 // value. CollocationMetadata can still be constructed manually above this
11 // value.
12 constexpr size_t collocation_maximum_l_max = 200;
13
14 namespace detail {
15
16 // currently, the operators for the swsh derivatives and for the coefficients
17 // are cached to the same maximum l_max as the collocations, but it could
18 // conceivably be useful to have distinct representation maximums for them, so
19 // they have separate control parameters.
20 constexpr size_t swsh_derivative_maximum_l_max = collocation_maximum_l_max;
21 constexpr size_t coefficients_maximum_l_max = collocation_maximum_l_max;
22 } // namespace detail
23 } // namespace Swsh
24 } // namespace Spectral
Definition: Determinant.hpp:11
Functionality associated with a particular choice of basis functions and quadrature for spectral oper...
Definition: Chebyshev.cpp:19