Loading...
Searching...
No Matches
pTraits.H File Reference
Include dependency graph for pTraits.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  zero_one
 Represents 0/1 range or concept. Used for tagged dispatch or clamping. More...
class  pTraits< Base >
 A traits class, which is primarily used for primitives and vector-space. More...
struct  pTraits_rank< T, class >
 The vector-space rank: default is 0. More...
struct  pTraits_rank< T, std::void_t< decltype(pTraits< std::remove_cv_t< T > >::rank)> >
 Rank of VectorSpace, using the pTraits rank static member. More...
struct  pTraits_cmptType< T, class >
 The underlying component data type: default is pass-through. More...
struct  pTraits_cmptType< T, std::void_t< decltype(pTraits< std::remove_cv_t< T > >::zero)> >
 The underlying component data type for vector-space (or complex). More...
struct  pTraits_nComponents< T, class >
 The vector-space number of components: default is 1. More...
struct  pTraits_nComponents< T, std::void_t< decltype(std::remove_cv_t< T >::nComponents)> >
 Number of VectorSpace components, using the pTraits nComponents static member. More...
struct  pTraits_has_zero< T, class >
 Test for pTraits zero : default is false. More...
struct  pTraits_has_zero< T, std::void_t< decltype(pTraits< std::remove_cv_t< T > >::zero)> >
 Test for pTraits zero. More...
struct  is_vectorspace< T, class >
 Test for VectorSpace : default is false. More...
struct  is_vectorspace< T, std::void_t< decltype(std::remove_cv_t< T >::rank)> >
 Test for VectorSpace : test for T::rank != 0 static member directly. More...
struct  is_rotational_vectorspace< T, class >
 Test for VectorSpace and multiple components (eg, not sphericalTensor) which means it is not rotationally invariant. More...
struct  is_rotational_vectorspace< T, std::void_t< decltype(std::remove_cv_t< T >::rank), decltype(std::remove_cv_t< T >::nComponents) > >
 Test for VectorSpace and multiple components (eg, not sphericalTensor). More...
struct  is_range< T, class >
 Test for containers with begin/end range iterators. More...
struct  is_range< T, std::void_t< decltype(std::declval< T >().begin()), decltype(std::declval< T >().end()) > >
 Test for list containers with begin/end range iterators. More...

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Variables

template<class T>
constexpr bool is_vectorspace_v = is_vectorspace<T>::value
 The is_vectorspace value of Type.
template<class T>
constexpr bool is_rotational_vectorspace_v = is_rotational_vectorspace<T>::value
 The is_rotational_vectorspace value of Type.

Detailed Description

Original source file pTraits.H

Definition in file pTraits.H.