33 #ifndef __H__PCL_reduce_traits
34 #define __H__PCL_reduce_traits
42 template <
class TValue>
100 else {
UG_THROW (
"Unsupported reduce operation: " << rop)};
Definition: pcl_reduce_traits.h:88
T operator()(T v1, T v2)
Definition: pcl_reduce_traits.h:104
Reducer(ReduceOperation rop)
Definition: pcl_reduce_traits.h:90
T reduce(T v1, T v2)
Definition: pcl_reduce_traits.h:106
T(* m_op)(T, T)
Definition: pcl_reduce_traits.h:109
MPI_Op ReduceOperation
Definition: pcl_methods.h:74
#define UG_THROW(msg)
Definition: error.h:57
Definition: parallel_grid_layout.h:46
static value_t band(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:81
double value_t
Definition: pcl_reduce_traits.h:75
static value_t prod(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:79
static value_t bor(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:83
static value_t min(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:76
static value_t sum(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:78
static value_t land(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:80
static value_t lor(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:82
static value_t max(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:77
static value_t lor(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:67
static value_t land(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:65
static value_t max(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:62
static value_t prod(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:64
static value_t min(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:61
static value_t band(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:66
static value_t sum(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:63
float value_t
Definition: pcl_reduce_traits.h:60
static value_t bor(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:68
methods defined in those traits are used by ComPol_AttachmentReduce
Definition: pcl_reduce_traits.h:44
static value_t max(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:47
static value_t land(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:50
static value_t min(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:46
static value_t bor(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:53
TValue value_t
Definition: pcl_reduce_traits.h:45
static value_t prod(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:49
static value_t band(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:51
static value_t sum(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:48
static value_t lor(value_t v1, value_t v2)
Definition: pcl_reduce_traits.h:52