DUNE-ACFEM (unstable)

timeprovidertraits.hh
1#ifndef __DUNE_ACFEM_MODELES_TIMEPROVIDERTRAITS_HH__
2#define __DUNE_ACFEM_MODELES_TIMEPROVIDERTRAITS_HH__
3
4#include <type_traits>
5
6namespace Dune {
7
8 namespace ACFem {
9
15 template<class TimeProvider>
17 {
18 using TimeStepType = std::decay_t<decltype(std::declval<TimeProvider>().deltaT())>;
19 using TimeType = std::decay_t<decltype(std::declval<TimeProvider>().time())>;
20 };
21
23
24 } // ACFem
25
26} // Dune
27
28#endif // __DUNE_ACFEM_MODELES_TIMEPROVIDERTRAITS_HH__
Type of time and time-step values.
Definition: timeprovidertraits.hh:17
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 27, 23:30, 2024)