OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
grid_dist_testing< dim > Class Template Reference

Detailed Description

template<unsigned int dim>
class grid_dist_testing< dim >

Definition at line 14 of file grid_dist_testing.hpp.

Public Member Functions

 grid_dist_testing (const size_t(&g_sz)[dim])
 It create a test map suitable for testing. More...
 
template<unsigned int p>
size_t get (const grid_dist_key_dx< dim > &key) const
 Get the element at position key. More...
 
grid_key_dx< dim > getGKey (const grid_dist_key_dx< dim > &key) const
 Return the global key. More...
 

Private Attributes

grid_cpu< dim, aggregate
< size_t > > 
grid_test
 

Constructor & Destructor Documentation

template<unsigned int dim>
grid_dist_testing< dim >::grid_dist_testing ( const size_t(&)  g_sz[dim])
inline

It create a test map suitable for testing.

Parameters
sizeof the grid with padding

Definition at line 25 of file grid_dist_testing.hpp.

Member Function Documentation

template<unsigned int dim>
template<unsigned int p>
size_t grid_dist_testing< dim >::get ( const grid_dist_key_dx< dim > &  key) const
inline

Get the element at position key.

Warning
it is a stub object, it just return number in the underline grid

Definition at line 50 of file grid_dist_testing.hpp.

template<unsigned int dim>
grid_key_dx<dim> grid_dist_testing< dim >::getGKey ( const grid_dist_key_dx< dim > &  key) const
inline

Return the global key.

Warning
it is a stub object, it just return the key

Definition at line 63 of file grid_dist_testing.hpp.


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