DUNE-ACFEM (unstable)
fieldpromotion.hh File Reference
Field promotion stuff. More...
#include <limits>
#include <complex>
#include "../common/types.hh"
#include "policy.hh"
#include "typetraits.hh"
Include dependency graph for fieldpromotion.hh:
Go to the source code of this file.
Classes | |
struct | Dune::ACFem::FieldPromotion< T1, T2, SFINAE > |
Promote potentially different numeric field types to a "closure" type. More... | |
Namespaces | |
Dune::ACFem | |
A namespace encapsulating everything defined in our dune-acfem project. | |
Typedefs | |
template<class T > | |
using | Dune::ACFem::FloatingPointClosure = typename FloatingPointClosureHelper< T >::Type |
Template alias. | |
Functions | |
template<class T , std::enable_if_t<!std::is_same< FloatingPointClosure< std::decay_t< T > >, std::decay_t< T > >::value, int > = 0> | |
constexpr auto | Dune::ACFem::floatingPointClosure (T &&t) |
Convert in particular integer types to a decent floating point type. | |
template<class T , std::enable_if_t< std::is_same< FloatingPointClosure< std::decay_t< T > >, std::decay_t< T > >::value, int > = 0> | |
constexpr decltype(auto) | Dune::ACFem::floatingPointClosure (T &&t) |
Forward floating point arguments as is. | |
Detailed Description
Field promotion stuff.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.80.0
(May 9, 22:29, 2024)