ryujin 2.5.0 revision 3a6c8d57210175dea14d8116e1fe878f349f8c1c
Loading...
Searching...
No Matches
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>
10
11#include <deal.II/base/tensor.h>
12
13#include <concepts>
14#include <string>
15
16namespace ryujin
17{
18 namespace Concept
19 {
25 template <typename V, int dim, typename Number>
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>
47 std::constructible_from<T, const System &, const std::string &> &&
49 } // namespace Concept
50} // namespace ryujin