OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
nm_v< dim > Struct Template Reference

Detailed Description

template<unsigned int dim>
struct nm_v< dim >

Definition at line 39 of file SubdomainGraphNodes.hpp.

Data Structures

struct  attributes
 Attributes name. More...
 

Public Types

typedef boost::fusion::vector< float[3], size_t, size_t, size_t, size_t, long int, size_t > type
 The node contain 3 unsigned long integer for communication computation memory and id.
 
typedef float s_type
 type of the positional field
 

Public Member Functions

 nm_v ()
 default constructor
 
 nm_v (const nm_v &p)
 
template<unsigned int dime, typename Mem >
 nm_v (const encapc< dime, nm_v, Mem > &p)
 
template<unsigned int dime, typename Mem >
nm_voperator= (const encapc< dime, nm_v, Mem > &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))
 

Static Public Member Functions

static bool noPointers ()
 

Data Fields

type data
 The data.
 

Static Public Attributes

static const unsigned int x = 0
 pos property id in boost::fusion::vector
 
static const unsigned int migration = 1
 migration property id in boost::fusion::vector
 
static const unsigned int computation = 2
 computation property id in boost::fusion::vector
 
static const unsigned int global_id = 3
 global_id property id in boost::fusion::vector
 
static const unsigned int id = 4
 id property id in boost::fusion::vector
 
static const unsigned int sub_id = 5
 sub_id property id in boost::fusion::vector
 
static const unsigned int proc_id = 6
 proc_id property id in boost::fusion::vector
 
static const unsigned int max_prop = 7
 total number of properties boost::fusion::vector
 

Member Typedef Documentation

◆ s_type

template<unsigned int dim>
typedef float nm_v< dim >::s_type

type of the positional field

Definition at line 45 of file SubdomainGraphNodes.hpp.

◆ type

template<unsigned int dim>
typedef boost::fusion::vector<float[3], size_t, size_t, size_t, size_t, long int, size_t> nm_v< dim >::type

The node contain 3 unsigned long integer for communication computation memory and id.

Definition at line 42 of file SubdomainGraphNodes.hpp.

Constructor & Destructor Documentation

◆ nm_v() [1/3]

template<unsigned int dim>
nm_v< dim >::nm_v ( )
inline

default constructor

Definition at line 75 of file SubdomainGraphNodes.hpp.

◆ nm_v() [2/3]

template<unsigned int dim>
nm_v< dim >::nm_v ( const nm_v< dim > &  p)
inline

Definition at line 80 of file SubdomainGraphNodes.hpp.

◆ nm_v() [3/3]

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

Definition at line 92 of file SubdomainGraphNodes.hpp.

Member Function Documentation

◆ get() [1/2]

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

Definition at line 111 of file SubdomainGraphNodes.hpp.

◆ get() [2/2]

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

Definition at line 116 of file SubdomainGraphNodes.hpp.

◆ noPointers()

template<unsigned int dim>
static bool nm_v< dim >::noPointers ( )
inlinestatic

Definition at line 121 of file SubdomainGraphNodes.hpp.

◆ operator=()

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

Definition at line 97 of file SubdomainGraphNodes.hpp.

Field Documentation

◆ computation

template<unsigned int dim>
const unsigned int nm_v< dim >::computation = 2
static

computation property id in boost::fusion::vector

Definition at line 61 of file SubdomainGraphNodes.hpp.

◆ data

template<unsigned int dim>
type nm_v< dim >::data

The data.

Definition at line 54 of file SubdomainGraphNodes.hpp.

◆ global_id

template<unsigned int dim>
const unsigned int nm_v< dim >::global_id = 3
static

global_id property id in boost::fusion::vector

Definition at line 63 of file SubdomainGraphNodes.hpp.

◆ id

template<unsigned int dim>
const unsigned int nm_v< dim >::id = 4
static

id property id in boost::fusion::vector

Definition at line 65 of file SubdomainGraphNodes.hpp.

◆ max_prop

template<unsigned int dim>
const unsigned int nm_v< dim >::max_prop = 7
static

total number of properties boost::fusion::vector

Definition at line 72 of file SubdomainGraphNodes.hpp.

◆ migration

template<unsigned int dim>
const unsigned int nm_v< dim >::migration = 1
static

migration property id in boost::fusion::vector

Definition at line 59 of file SubdomainGraphNodes.hpp.

◆ proc_id

template<unsigned int dim>
const unsigned int nm_v< dim >::proc_id = 6
static

proc_id property id in boost::fusion::vector

Definition at line 69 of file SubdomainGraphNodes.hpp.

◆ sub_id

template<unsigned int dim>
const unsigned int nm_v< dim >::sub_id = 5
static

sub_id property id in boost::fusion::vector

Definition at line 67 of file SubdomainGraphNodes.hpp.

◆ x

template<unsigned int dim>
const unsigned int nm_v< dim >::x = 0
static

pos property id in boost::fusion::vector

Definition at line 57 of file SubdomainGraphNodes.hpp.


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