OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
vx Struct Reference

Detailed Description

Definition at line 11 of file dist_map_graph_unit_test.hpp.

Data Structures

struct  attributes
 Attributes name. More...
 

Public Types

typedef boost::fusion::vector< float[3]> type
 
typedef float s_type
 type of the positional field
 

Public Member Functions

 vx (const vx &p)
 
template<unsigned int id>
auto get () -> decltype(boost::fusion::at_c< id >(data))
 
template<unsigned int id>
auto get () const -> const decltype(boost::fusion::at_c< id >(data))
 
template<unsigned int dim, typename Mem >
 vx (const encapc< dim, vx, Mem > &p)
 
template<unsigned int dim, typename Mem >
vxoperator= (const encapc< dim, vx, Mem > &p)
 

Static Public Member Functions

static bool noPointers ()
 

Data Fields

type data
 The data.
 

Static Public Attributes

static const unsigned int x = 0
 x property id in boost::fusion::vector
 
static const unsigned int max_prop = 1
 total number of properties boost::fusion::vector
 

Member Typedef Documentation

◆ s_type

typedef float vx::s_type

type of the positional field

Definition at line 22 of file dist_map_graph_unit_test.hpp.

◆ type

typedef boost::fusion::vector<float[3]> vx::type

Definition at line 13 of file dist_map_graph_unit_test.hpp.

Constructor & Destructor Documentation

◆ vx() [1/3]

vx::vx ( )
inline

Definition at line 32 of file dist_map_graph_unit_test.hpp.

◆ vx() [2/3]

vx::vx ( const vx p)
inline

Definition at line 37 of file dist_map_graph_unit_test.hpp.

◆ vx() [3/3]

template<unsigned int dim, typename Mem >
vx::vx ( const encapc< dim, vx, Mem > &  p)
inline

Definition at line 54 of file dist_map_graph_unit_test.hpp.

Member Function Documentation

◆ get() [1/2]

template<unsigned int id>
auto vx::get ( ) -> decltype(boost::fusion::at_c < id > (data))
inline

Definition at line 44 of file dist_map_graph_unit_test.hpp.

◆ get() [2/2]

template<unsigned int id>
auto vx::get ( ) const -> const decltype(boost::fusion::at_c < id > (data))
inline

Definition at line 49 of file dist_map_graph_unit_test.hpp.

◆ noPointers()

static bool vx::noPointers ( )
inlinestatic

Definition at line 68 of file dist_map_graph_unit_test.hpp.

◆ operator=()

template<unsigned int dim, typename Mem >
vx & vx::operator= ( const encapc< dim, vx, Mem > &  p)
inline

Definition at line 59 of file dist_map_graph_unit_test.hpp.

Field Documentation

◆ data

type vx::data

The data.

Definition at line 25 of file dist_map_graph_unit_test.hpp.

◆ max_prop

const unsigned int vx::max_prop = 1
static

total number of properties boost::fusion::vector

Definition at line 30 of file dist_map_graph_unit_test.hpp.

◆ x

const unsigned int vx::x = 0
static

x property id in boost::fusion::vector

Definition at line 28 of file dist_map_graph_unit_test.hpp.


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