Line data Source code
1 0 : // Distributed under the MIT License.
2 : // See LICENSE.txt for details.
3 :
4 : #pragma once
5 :
6 : #include <cstddef>
7 :
8 : /// \cond
9 : template <size_t Dim>
10 : class Element;
11 : template <size_t Dim>
12 : class Mesh;
13 : /// \endcond
14 :
15 : namespace domain {
16 : /// \brief Returns true if mesh is valid for DG on the given element
17 : ///
18 : /// \details A Mesh is valid for DG on an Element if:
19 : /// - the Mesh satisfies Spectral::is_valid_dg_mesh
20 : /// - the Basis of the Mesh is appropriate for the topologies of the Element
21 : template <size_t Dim>
22 1 : bool is_valid_dg_mesh(const Mesh<Dim>& mesh, const Element<Dim>& element);
23 : } // namespace domain
|