ryujin
2.5.0 revision 3a6c8d57210175dea14d8116e1fe878f349f8c1c
Loading...
Searching...
No Matches
include
ryujin
concept
wave_speed_estimator.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 <ryujin/base/compile_time_options.h>
9
#include <
ryujin/concept/hyperbolic_system.h
>
10
11
#include <deal.II/base/tensor.h>
12
13
#include <concepts>
14
#include <string>
15
16
namespace
ryujin
17
{
18
namespace
Concept
19
{
25
template
<
typename
V,
int
dim,
typename
Number>
26
concept
WaveSpeedEstimatorView
=
27
requires
(
const
V &const_view,
28
const
typename
V::PrecomputedVectorView &
precomputed
,
29
const
typename
V::state_type &U,
30
const
dealii::Tensor<1, dim, Number> &n_ij,
31
const
unsigned
int
i,
32
const
unsigned
int
*js) {
33
{
34
const_view.compute(
precomputed
, U, U, i, js, n_ij)
35
} -> std::same_as<Number>;
36
};
37
38
45
template
<
typename
T,
typename
System,
int
dim,
typename
Number>
46
concept
WaveSpeedEstimator
=
47
std::constructible_from<T, const System &, const std::string &> &&
48
WaveSpeedEstimatorView<view_type<T, dim, Number>
, dim, Number>;
49
}
// namespace Concept
50
}
// namespace ryujin
hyperbolic_system.h
ryujin::Concept::WaveSpeedEstimatorView
Definition
wave_speed_estimator.h:26
ryujin::Concept::WaveSpeedEstimator
Definition
wave_speed_estimator.h:46
ryujin::StateVectorPart::precomputed
@ precomputed
ryujin
Definition
computing_timer.h:22
Generated by
1.9.8