Rheolef  7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
ad3.h

Go to the source code of this file.

Classes

class  ad3_basic< T >
struct  float_traits< ad3_basic< T > >

Namespaces

namespace  rheolef
 This file is part of Rheolef.

Macros

#define _RHEOLEF_ad3_comparator(OP)

Functions

template<class T>
std::ostream & operator<< (std::ostream &os, const ad3_basic< T > &a)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, ad3_basic< T > >::type operator+ (const U &a, const ad3_basic< T > &b)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, ad3_basic< T > >::type operator+ (const ad3_basic< T > &a, const U &b)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, ad3_basic< T > >::type operator- (const U &a, const ad3_basic< T > &b)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, ad3_basic< T > >::type operator- (const ad3_basic< T > &a, const U &b)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, ad3_basic< T > & >::type operator+= (ad3_basic< T > &a, const U &b)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, ad3_basic< T > & >::type operator-= (ad3_basic< T > &a, const U &b)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, ad3_basic< T > >::type operator* (const U &a, const ad3_basic< T > &b)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, ad3_basic< T > >::type operator* (const ad3_basic< T > &a, const U &b)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, ad3_basic< T > & >::type operator*= (ad3_basic< T > &a, const U &b)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, ad3_basic< T > >::type operator/ (const U &a, const ad3_basic< T > &b)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, ad3_basic< T > >::type operator/ (const ad3_basic< T > &a, const U &b)
template<class T, class U>
std::enable_if< details::is_rheolef_arithmetic< U >::value, ad3_basic< T > & >::type operator/= (ad3_basic< T > &a, const U &b)

Macro Definition Documentation

◆ _RHEOLEF_ad3_comparator

#define _RHEOLEF_ad3_comparator ( OP)
Value:
template <class T> \
inline \
bool \
operator OP (const ad3_basic<T> &a, const ad3_basic<T> &b) \
{ \
return a._v OP b._v; \
} \
template <class T, class U> \
inline \
typename \
std::enable_if< \
details::is_rheolef_arithmetic<U>::value \
,bool \
>::type \
operator OP (const ad3_basic<T> &a, const U &b) \
{ \
return a._v OP b; \
} \
template <class T, class U> \
inline \
typename \
std::enable_if< \
details::is_rheolef_arithmetic<U>::value \
,bool \
>::type \
operator OP (const U &a, const ad3_basic<T> &b) \
{ \
return a OP b._v; \
}

Definition at line 436 of file ad3.h.