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