ryujin
2.1.1 revision 4bf2aee841e245e84ddb1251f8ca4f7f06dda1bb
Loading...
Searching...
No Matches
source
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
14
DEAL_II_NAMESPACE_OPEN
15
16
namespace
ReferenceCells
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)
27
namespace
numbers
28
{
29
constexpr
unsigned
char
default_geometric_orientation
=
30
ReferenceCell::default_combined_face_orientation();
31
}
// namespace numbers
32
#endif
33
34
DEAL_II_NAMESPACE_CLOSE
35
36
#endif
ReferenceCells
Definition
reference_cell.h:17
ReferenceCells::n_vertices_to_reference_cell
ReferenceCell n_vertices_to_reference_cell(const unsigned int n_vertices)
Definition
reference_cell.h:20
numbers
Definition
reference_cell.h:28
numbers::default_geometric_orientation
constexpr unsigned char default_geometric_orientation
Definition
reference_cell.h:29
Generated by
1.9.8