SpECTRE Documentation Coverage Report
Current view: top level - NumericalAlgorithms/LinearOperators/Filters - Detail.hpp Hit Total Coverage
Commit: c3e43f8d41800b0ecefb9d1393f1de1d5a280c8f Lines: 0 2 0.0 %
Date: 2026-07-24 22:09:25
Legend: Lines: hit not hit

          Line data    Source code
       1           0 : // Distributed under the MIT License.
       2             : // See LICENSE.txt for details.
       3             : 
       4             : #pragma once
       5             : 
       6             : #include "NumericalAlgorithms/Spectral/Basis.hpp"
       7             : #include "NumericalAlgorithms/Spectral/Quadrature.hpp"
       8             : 
       9           0 : namespace Filters::detail {
      10             : // Returns true if `basis` is a Legendre or Chebyshev basis collocated on
      11             : // Gauss or Gauss-Lobatto points, i.e. a standard one-dimensional spectral
      12             : // direction usable by the exponential filter engine.
      13             : inline bool is_legendre_or_chebyshev(const Spectral::Basis basis,
      14             :                                      const Spectral::Quadrature quadrature) {
      15             :   return (basis == Spectral::Basis::Legendre or
      16             :           basis == Spectral::Basis::Chebyshev) and
      17             :          (quadrature == Spectral::Quadrature::Gauss or
      18             :           quadrature == Spectral::Quadrature::GaussLobatto);
      19             : }
      20             : }  // namespace Filters::detail

Generated by: LCOV version 1.14