SpECTRE Documentation Coverage Report
Current view: top level - Domain/Structure - ChildSize.hpp Hit Total Coverage
Commit: 1f2210958b4f38fdc0400907ee7c6d5af5111418 Lines: 2 3 66.7 %
Date: 2025-12-05 05:03:31
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 <array>
       7             : #include <cstddef>
       8             : 
       9             : #include "Domain/Structure/SegmentId.hpp"
      10             : #include "NumericalAlgorithms/Spectral/SegmentSize.hpp"
      11             : 
      12             : namespace domain {
      13             : /// @{
      14             : /*!
      15             :  * \brief Size of a child segment relative to its parent
      16             :  *
      17             :  * Determines which part of the `parent_segment_id` is covered by the
      18             :  * `child_segment_id`: The full segment, its lower half or its upper half.
      19             :  */
      20           1 : Spectral::SegmentSize child_size(const SegmentId& child_segment_id,
      21             :                                  const SegmentId& parent_segment_id);
      22             : 
      23             : template <size_t Dim>
      24           1 : std::array<Spectral::SegmentSize, Dim> child_size(
      25             :     const std::array<SegmentId, Dim>& child_segment_ids,
      26             :     const std::array<SegmentId, Dim>& parent_segment_ids);
      27             : /// @}
      28             : }  // namespace domain

Generated by: LCOV version 1.14