version 3.10-dev
flux/traits.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3//
4// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
12#ifndef DUMUX_FLUX_TRAITS_HH
13#define DUMUX_FLUX_TRAITS_HH
14
15#include <type_traits>
16
17namespace Dumux {
18
23template<class AdvectionType>
24struct HasStationaryVelocityField : public std::false_type {};
25
30template<class FluxVariables>
32{
33 static constexpr bool hasStationaryVelocityField()
34 {
36 }
37};
38
39} // namespace Dumux
40
41#endif
Definition: adapt.hh:17
Traits of a flux variables type.
Definition: flux/traits.hh:32
static constexpr bool hasStationaryVelocityField()
Definition: flux/traits.hh:33
Trait of an advection type stating whether it implements a stationary velocity field.
Definition: flux/traits.hh:24