ChildSize.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
7 #include "NumericalAlgorithms/Spectral/Projection.hpp"
8 
9 namespace domain {
10 /*!
11  * \brief Size of a child segment relative to its parent
12  *
13  * Determines which part of the `parent_segment_id` is covered by the
14  * `child_segment_id`: The full segment, its lower half or its upper half.
15  */
16 Spectral::ChildSize child_size(const SegmentId& child_segment_id,
17  const SegmentId& parent_segment_id) noexcept;
18 }
SegmentId.hpp
SegmentId
A SegmentId labels a segment of the interval [-1,1] and is used to identify the bounds of an Element ...
Definition: SegmentId.hpp:62
Spectral::ChildSize
ChildSize
The portion of a mesh covered by a child mesh.
Definition: Projection.hpp:20