ryujin 2.5.0 revision c64172211cf21344cb9b9b0f3a1266aa6400d392
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 typename V::flux_contribution_type &flux,
31 const dealii::Tensor<1, dim, Number> &n_ij,
32 const unsigned int i,
33 const unsigned int *js) {
34 {
35 const_view.compute(precomputed, i, js, U, U, flux, flux, n_ij)
36 } -> std::same_as<Number>;
37 };
38
39
46 template <typename T, typename System, int dim, typename Number>
48 std::constructible_from<T, const System &, const std::string &> &&
50 } // namespace Concept
51} // namespace ryujin