KASKADE 7 development version
Classes | Public Types | Static Public Member Functions | List of all members
Kaskade::GetScalar< Type > Struct Template Reference

Get scalar type from Dune (-> field_type) or Kaskade (-> Scalar) member. More...

#include <duneInterface.hh>

Detailed Description

template<class Type>
struct Kaskade::GetScalar< Type >

Get scalar type from Dune (-> field_type) or Kaskade (-> Scalar) member.

Definition at line 65 of file duneInterface.hh.

Classes

struct  ExtractScalar
 
struct  ExtractScalar< LocalType, false, true >
 
struct  ExtractScalar< LocalType, true, hasFieldType_ >
 
struct  TypeNotFound
 

Public Types

typedef !std ::is_same< decltype(hasFieldType< Type >(0)), TypeNotFound >::value ::type type
 

Static Public Member Functions

template<class LocalType >
static LocalType::field_type hasFieldType (typename LocalType::field_type)
 
template<class LocalType >
static TypeNotFound hasFieldType (...)
 
template<class LocalType >
static LocalType::Scalar hasScalar (typename LocalType::Scalar)
 
template<class LocalType >
static TypeNotFound hasScalar (...)
 

Member Typedef Documentation

◆ type

template<class Type >
typedef !std ::is_same<decltype(hasFieldType<Type>(0)),TypeNotFound>::value ::type Kaskade::GetScalar< Type >::type

Definition at line 98 of file duneInterface.hh.

Member Function Documentation

◆ hasFieldType() [1/2]

template<class Type >
template<class LocalType >
static TypeNotFound Kaskade::GetScalar< Type >::hasFieldType (   ...)
static

◆ hasFieldType() [2/2]

template<class Type >
template<class LocalType >
static LocalType::field_type Kaskade::GetScalar< Type >::hasFieldType ( typename LocalType::field_type  )
static

◆ hasScalar() [1/2]

template<class Type >
template<class LocalType >
static TypeNotFound Kaskade::GetScalar< Type >::hasScalar (   ...)
static

◆ hasScalar() [2/2]

template<class Type >
template<class LocalType >
static LocalType::Scalar Kaskade::GetScalar< Type >::hasScalar ( typename LocalType::Scalar  )
static

The documentation for this struct was generated from the following file: