OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
do_when_dim_gr_i< dim, i, ORB, Enable > Struct Template Reference

This structure use SFINAE to avoid instantiation of invalid code. More...

Detailed Description

template<unsigned int dim, unsigned int i, typename ORB, class Enable = void>
struct do_when_dim_gr_i< dim, i, ORB, Enable >

This structure use SFINAE to avoid instantiation of invalid code.

birect_unroll cannot be performed when i > dim (basically you will never cut on a dimension that does not exist)

What is happening here is that at compile-time enable_if< (i < dim) >type is evaluated, if the condition is true enable_if<true>::type is a valid expression the the second specialization will be used, if is false enable_if<false>::type is not a valid expression, and the first specialization is chosen

Definition at line 54 of file ORB.hpp.

#include <ORB.hpp>

Static Public Member Functions

static void bisect_loop (bisect_unroll< dim, ORB > &bu)
 

Member Function Documentation

◆ bisect_loop()

template<unsigned int dim, unsigned int i, typename ORB , class Enable = void>
static void do_when_dim_gr_i< dim, i, ORB, Enable >::bisect_loop ( bisect_unroll< dim, ORB > &  bu)
inlinestatic

Definition at line 56 of file ORB.hpp.


The documentation for this struct was generated from the following file: