OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
vect_dist_key_dx Class Reference

Grid key for a distributed grid. More...

Detailed Description

Grid key for a distributed grid.

Grid key for a distributed grid

Definition at line 19 of file vector_dist_key.hpp.

#include <vector_dist_key.hpp>

Public Member Functions

void setKey (size_t key)
 set the key More...
 
size_t getKey () const
 Get the key. More...
 
std::string to_string ()
 Convert the key into a string message. More...
 
 vect_dist_key_dx ()
 constructor from a key More...
 
 vect_dist_key_dx (size_t key)
 Default constructor.
 

Private Attributes

size_t key
 Local grid iterator.
 

Constructor & Destructor Documentation

vect_dist_key_dx::vect_dist_key_dx ( )
inline

constructor from a key

Default constructor

Definition at line 68 of file vector_dist_key.hpp.

Member Function Documentation

size_t vect_dist_key_dx::getKey ( ) const
inline

Get the key.

Returns
the local key

Definition at line 42 of file vector_dist_key.hpp.

void vect_dist_key_dx::setKey ( size_t  key)
inline

set the key

Parameters
keythe local key

Definition at line 32 of file vector_dist_key.hpp.

std::string vect_dist_key_dx::to_string ( )
inline

Convert the key into a string message.

Returns
a string message

Definition at line 52 of file vector_dist_key.hpp.


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