ryujin 2.1.1 revision 4bf2aee841e245e84ddb1251f8ca4f7f06dda1bb
Loading...
Searching...
No Matches
reference_cell.h
Go to the documentation of this file.
1//
2// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3// Copyright (C) 2026 by the ryujin authors
4//
5
6#pragma once
7
8#include <deal.II/base/config.h>
9
10#include <deal.II/grid/reference_cell.h>
11
12#if !DEAL_II_VERSION_GTE(9, 8, 0)
13
14DEAL_II_NAMESPACE_OPEN
15
17{
18 template <int dim>
19 inline ReferenceCell
20 n_vertices_to_reference_cell(const unsigned int n_vertices)
21 {
22 return ReferenceCell::n_vertices_to_type(dim, n_vertices);
23 }
24} // namespace ReferenceCells
25
26#if !DEAL_II_VERSION_GTE(9, 7, 0)
27namespace numbers
28{
29 constexpr unsigned char default_geometric_orientation =
30 ReferenceCell::default_combined_face_orientation();
31} // namespace numbers
32#endif
33
34DEAL_II_NAMESPACE_CLOSE
35
36#endif
ReferenceCell n_vertices_to_reference_cell(const unsigned int n_vertices)
constexpr unsigned char default_geometric_orientation