an efficient C++ finite element environment
|
|
Go to the documentation of this file. 1 # ifndef _RHEO_UNDETERMINATED_H
2 # define _RHEO_UNDETERMINATED_H
3 #include "rheolef/point.h"
24 #include "rheolef/tensor.h"
25 #include "rheolef/tensor3.h"
26 #include "rheolef/tensor4.h"
27 #include "rheolef/promote.h"
43 template<
class T1,
class T2>
49 template<
class T1,
class T2>
53 template<
class T1,
class T2>
58 #define _RHEOLEF_tensor_promote(tensor) \
59 template<class T1, class T2> \
60 struct promote<tensor##_basic<T1>, undeterminated_basic<T2> > { \
61 typedef tensor##_basic<typename promote<T1,T2>::type> type; \
63 template<class T1, class T2> \
64 struct promote<undeterminated_basic<T1>, tensor##_basic<T2> > { \
65 typedef tensor##_basic<typename promote<T1,T2>::type> type; \
67 template<class T1, class T2> \
68 struct promote<tensor##_basic<T1>, tensor##_basic<T2> > { \
69 typedef tensor##_basic<typename promote<T1,T2>::type> type; \
75 #undef _RHEOLEF_tensor_promote
78 #endif // _RHEO_UNDETERMINATED_H
see the tensor3 page for the full documentation
see the tensor page for the full documentation
helper for std::complex<T>: get basic T type
see the tensor4 page for the full documentation
helper for generic field value_type: T, point_basic<T> or tensor_basic<T>
float_traits< T >::type type
This file is part of Rheolef.
#define _RHEOLEF_tensor_promote(tensor)
see the point page for the full documentation
helper for point_basic<T> & tensor_basic<T>: get basic T type