OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
fill_prop_by_type< dim, i, p, Graph, pos > Struct Template Reference

Operator for vector and scalar property. More...

Detailed Description

template<unsigned int dim, int i, typename p, typename Graph, int ... pos>
struct fill_prop_by_type< dim, i, p, Graph, pos >

Operator for vector and scalar property.

Template Parameters
iSize of the property
pType of the property boost mpl
GraphGraph
posArray of properties

Definition at line 234 of file CartesianGraphFactory.hpp.

#include <CartesianGraphFactory.hpp>

Public Types

enum  { value = ((sizeof...(pos) != 0) * (std::is_array<pos_prop_type>::value + 1)) }
 
typedef boost::mpl::at< p, boost::mpl::int_< 0 > >::type v_element
 Get the element 0.
 
typedef boost::mpl::at< typenameGraph::V_type::type, v_element >::type pos_prop_type
 Get the property v_element (v_element is a number)
 

Member Typedef Documentation

◆ pos_prop_type

template<unsigned int dim, int i, typename p , typename Graph , int ... pos>
typedef boost::mpl::at<typenameGraph::V_type::type,v_element>::type fill_prop_by_type< dim, i, p, Graph, pos >::pos_prop_type

Get the property v_element (v_element is a number)

Definition at line 241 of file CartesianGraphFactory.hpp.

◆ v_element

template<unsigned int dim, int i, typename p , typename Graph , int ... pos>
typedef boost::mpl::at<p,boost::mpl::int_<0>>::type fill_prop_by_type< dim, i, p, Graph, pos >::v_element

Get the element 0.

Definition at line 238 of file CartesianGraphFactory.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<unsigned int dim, int i, typename p , typename Graph , int ... pos>
anonymous enum

Definition at line 243 of file CartesianGraphFactory.hpp.


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