Line data Source code
1 0 : // Distributed under the MIT License.
2 : // See LICENSE.txt for details.
3 :
4 : #pragma once
5 :
6 : #include <cstdint>
7 :
8 : /// \cond
9 : namespace domain {
10 : enum class Topology : uint8_t;
11 : } // namespace domain
12 : enum class Side : uint8_t;
13 : /// \endcond
14 :
15 : namespace domain {
16 : /// \brief Whether or not a Topology has a boundary on a given Side
17 : ///
18 : /// \note the boundary can either be an internal (i.e. an interface between
19 : /// neighboring Elements or Blocks) or external boundary
20 1 : bool has_boundary(domain::Topology topology, Side side);
21 : } // namespace domain
|